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

Function main

tests/insert_default_tests.rs:10–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9#[sea_orm_macros::test]
10async fn main() -> Result<(), DbErr> {
11 let ctx = TestContext::new("insert_default_tests").await;
12 create_tables(&ctx.db).await?;
13 create_insert_default(&ctx.db).await?;
14 ctx.delete().await;
15
16 Ok(())
17}
18
19pub async fn create_insert_default(db: &DatabaseConnection) -> Result<(), DbErr> {
20 use insert_default::*;

Callers

nothing calls this directly

Calls 4

create_insert_defaultFunction · 0.70
newFunction · 0.50
create_tablesFunction · 0.50
deleteMethod · 0.45

Tested by

no test coverage detected