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

Method create_index

sea-orm-migration/src/manager.rs:50–52  ·  view source on GitHub ↗
(&self, stmt: IndexCreateStatement)

Source from the content-addressed store, hash-verified

48 }
49
50 pub async fn create_index(&self, stmt: IndexCreateStatement) -> Result<(), DbErr> {
51 self.exec_stmt(stmt).await
52 }
53
54 pub async fn create_foreign_key(&self, stmt: ForeignKeyCreateStatement) -> Result<(), DbErr> {
55 self.exec_stmt(stmt).await

Callers 1

upMethod · 0.80

Calls 1

exec_stmtMethod · 0.80

Tested by 1

upMethod · 0.64