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

Function main

tests/pi_tests.rs:11–18  ·  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("pi_tests").await;
13 create_tables(&ctx.db).await?;
14 create_and_update_pi(&ctx.db).await?;
15 ctx.delete().await;
16
17 Ok(())
18}
19
20pub async fn create_and_update_pi(db: &DatabaseConnection) -> Result<(), DbErr> {
21 fn trunc_dec_scale(mut model: pi::Model) -> pi::Model {

Callers

nothing calls this directly

Calls 4

create_and_update_piFunction · 0.85
newFunction · 0.50
create_tablesFunction · 0.50
deleteMethod · 0.45

Tested by

no test coverage detected