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

Function main

tests/enum_primary_key_tests.rs:15–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14#[sea_orm_macros::test]
15async fn main() -> Result<(), DbErr> {
16 let ctx = TestContext::new("enum_primary_key_tests").await;
17 create_tables(&ctx.db).await?;
18 insert_teas(&ctx.db).await?;
19 ctx.delete().await;
20
21 Ok(())
22}
23
24pub async fn insert_teas(db: &DatabaseConnection) -> Result<(), DbErr> {
25 use teas::*;

Callers

nothing calls this directly

Calls 4

insert_teasFunction · 0.85
newFunction · 0.50
create_tablesFunction · 0.50
deleteMethod · 0.45

Tested by

no test coverage detected