MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / main

Function main

tests/bits_tests.rs:11–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9#[sea_orm_macros::test]
10#[cfg(feature = "sqlx-postgres")]
11async fn main() -> Result<(), DbErr> {
12 let ctx = common::TestContext::new("bits_tests").await;
13 create_tables(&ctx.db).await?;
14 create_and_update(&ctx.db).await?;
15 ctx.delete().await;
16
17 Ok(())
18}
19
20pub async fn create_and_update(db: &DatabaseConnection) -> Result<(), DbErr> {
21 let bits = bits::Model {

Callers

nothing calls this directly

Calls 4

create_and_updateFunction · 0.70
newFunction · 0.50
create_tablesFunction · 0.50
deleteMethod · 0.45

Tested by

no test coverage detected