| Crates.io | prax-sqlite |
| lib.rs | prax-sqlite |
| version | 0.5.0 |
| created_at | 2025-12-21 16:28:47.491604+00 |
| updated_at | 2026-01-07 18:34:14.271852+00 |
| description | SQLite database driver for Prax ORM |
| homepage | |
| repository | https://github.com/pegasusheavy/prax-orm |
| max_upload_size | |
| id | 1998252 |
| size | 130,238 |
SQLite query engine for Prax ORM.
prax-sqlite provides an async SQLite backend using tokio-rusqlite.
use prax_sqlite::SqliteEngine;
// File-based database
let engine = SqliteEngine::new("sqlite:./data.db").await?;
// In-memory database
let engine = SqliteEngine::new("sqlite::memory:").await?;
// Execute queries through Prax client
let client = PraxClient::with_engine(engine);
let users = client.user().find_many().exec().await?;
SQLite operations are highly optimized:
Licensed under either of Apache License, Version 2.0 or MIT license at your option.