8a1435d9e94135617bd55c8bbb74d21a1622cc88
shanty-db
Shared database schema and access layer for Shanty.
Uses Sea-ORM with SQLite. Provides migrations, typed entities, connection pooling, and query functions used by all other Shanty crates.
Usage
use shanty_db::Database;
let db = Database::new("sqlite:///path/to/shanty.db?mode=rwc").await?;
// use db.conn() for queries
Running Tests
cargo test
Description
Languages
Rust
100%