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

Method create_foreign_key

sea-orm-migration/src/manager.rs:54–56  ·  view source on GitHub ↗
(&self, stmt: ForeignKeyCreateStatement)

Source from the content-addressed store, hash-verified

52 }
53
54 pub async fn create_foreign_key(&self, stmt: ForeignKeyCreateStatement) -> Result<(), DbErr> {
55 self.exec_stmt(stmt).await
56 }
57
58 pub async fn create_type(&self, stmt: TypeCreateStatement) -> Result<(), DbErr> {
59 self.exec_stmt(stmt).await

Callers

nothing calls this directly

Calls 1

exec_stmtMethod · 0.80

Tested by

no test coverage detected