Description
Implement SQLite JSON1 extension support with JSON functions and operations.
Requirements
Acceptance Criteria
- Complete JSON1 extension support
- JSON path query capabilities
- JSON modification operations
- Type-safe JSON handling
Files to create
beatrix_core/src/relational/json/sqlite.rs
Example Usage
#[derive(RelationalModel)]
struct User {
id: i32,
metadata: Json<UserMetadata>,
}
let users = User::select()
.where_clause(json_extract(User::metadata(), "$.role").eq("admin"))
.fetch_all(&db).await?;
Description
Implement SQLite JSON1 extension support with JSON functions and operations.
Requirements
Acceptance Criteria
Files to create
beatrix_core/src/relational/json/sqlite.rsExample Usage