Skip to main content

Crate toasty_driver_sqlite

Crate toasty_driver_sqlite 

Source
Expand description

Toasty driver for SQLite using rusqlite.

Supports both file-backed and in-memory databases.

§Examples

use toasty_driver_sqlite::Sqlite;

// In-memory database
let driver = Sqlite::in_memory();

// File-backed database
let driver = Sqlite::open("path/to/db.sqlite3");

Structs§

Connection
An open connection to a SQLite database.
Sqlite
A SQLite [Driver] that opens connections to a file or in-memory database.

Enums§

AutoVacuum
The auto-vacuum setting set by Sqlite::auto_vacuum.
JournalMode
The journal mode set by Sqlite::journal_mode.
LockingMode
The locking mode set by Sqlite::locking_mode.
Synchronous
The synchronous setting set by Sqlite::synchronous.