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

Method new

sea-orm-migration/src/manager.rs:18–25  ·  view source on GitHub ↗
(conn: T)

Source from the content-addressed store, hash-verified

16
17impl<'c> SchemaManager<'c> {
18 pub fn new<T>(conn: T) -> Self
19 where
20 T: IntoSchemaManagerConnection<'c>,
21 {
22 Self {
23 conn: conn.into_schema_manager_connection(),
24 }
25 }
26
27 pub async fn exec_stmt<S>(&self, stmt: S) -> Result<(), DbErr>
28 where

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected