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

Function main

tests/uuid_tests.rs:11–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10#[sea_orm_macros::test]
11async fn main() -> Result<(), DbErr> {
12 let ctx = TestContext::new("bakery_chain_schema_uuid_tests").await;
13 create_tables(&ctx.db).await?;
14 create_and_update_metadata(&ctx.db).await?;
15 insert_metadata(&ctx.db).await?;
16 ctx.delete().await;
17
18 Ok(())
19}
20
21pub async fn insert_metadata(db: &DatabaseConnection) -> Result<(), DbErr> {
22 let metadata = metadata::Model {

Callers

nothing calls this directly

Calls 5

insert_metadataFunction · 0.85
newFunction · 0.50
create_tablesFunction · 0.50
deleteMethod · 0.45

Tested by

no test coverage detected