doido-model 0.0.4

SeaORM re-exports plus connection pooling and model testing helpers for Doido apps.
Documentation
1
2
3
4
5
6
7
use doido_model::testing::TestDb;

#[tokio::test]
async fn test_testdb_connects_to_sqlite_in_memory() {
    let db = TestDb::new().await.unwrap();
    db.conn().ping().await.unwrap();
}