1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! SQLite database driver for Prax ORM.
//!
//! This crate provides SQLite support for the Prax ORM, using `tokio-rusqlite`
//! for asynchronous database operations.
//!
//! # Features
//!
//! - Async/await support via `tokio-rusqlite`
//! - Connection pooling
//! - Type-safe query building
//! - Transaction support
//! - In-memory and file-based databases
//!
//! # Example
//!
//! ```rust,ignore
//! use prax_sqlite::{SqlitePool, SqliteConfig};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! let config = SqliteConfig::from_url("sqlite://./mydb.db")?;
//! let pool = SqlitePool::new(config).await?;
//!
//! // Use the pool...
//! Ok(())
//! }
//! ```
//!
//! See [`SqliteEngine`]'s doc block for 0.7 breaking changes.
pub use ;
pub use SqliteConnection;
pub use SqliteEngine;
pub use ;
pub use ;
pub use ;
pub use FromSqliteRow;