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

Function run_cli

sea-orm-migration/src/cli.rs:15–20  ·  view source on GitHub ↗
(migrator: M)

Source from the content-addressed store, hash-verified

13const MIGRATION_DIR: &str = "./";
14
15pub async fn run_cli<M>(migrator: M)
16where
17 M: MigratorTrait,
18{
19 run_cli_with_connection(migrator, Database::connect).await;
20}
21
22/// Same as [`run_cli`] where you provide the function to create the [`DbConn`].
23///

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

run_cli_with_connectionFunction · 0.85

Tested by

no test coverage detected