-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
high-priorityHigh priority itemHigh priority itemquery-builderQuery building functionalityQuery building functionalitysqliteSQLite database supportSQLite database support
Milestone
Description
Description
Implement INSERT, UPDATE, DELETE operations for SQLite with SQLite-specific optimizations.
Requirements
- INSERT OR REPLACE/IGNORE support
- Batch insert optimizations
- UPSERT operations
- SQLite constraint handling
- Row ID handling
- Write comprehensive tests
Acceptance Criteria
- Full CRUD support for SQLite
- SQLite-specific optimizations
- Proper handling of ROWID
- Batch operation support
Files to modify
beatrix_core/src/relational/insert.rsbeatrix_core/src/relational/update.rsbeatrix_core/src/relational/delete.rs
Example Usage
// SQLite UPSERT
User::insert()
.values(user)
.on_conflict_replace()
.execute(&db).await?;
// Batch insert with transaction
User::insert()
.values_batch(users)
.execute(&db).await?;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
high-priorityHigh priority itemHigh priority itemquery-builderQuery building functionalityQuery building functionalitysqliteSQLite database supportSQLite database support