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

Function main

examples/basic/src/main.rs:25–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24#[async_std::main]
25async fn main() {
26 let db = Database::connect("sql://sea:sea@localhost/bakery")
27 .await
28 .unwrap();
29
30 println!("{db:?}\n");
31
32 println!("===== =====\n");
33
34 all_about_select(&db).await.unwrap();
35
36 println!("===== =====\n");
37
38 all_about_operation(&db).await.unwrap();
39}

Callers

nothing calls this directly

Calls 3

all_about_selectFunction · 0.85
all_about_operationFunction · 0.85
unwrapMethod · 0.80

Tested by

no test coverage detected