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

Method has_table

sea-orm-migration/src/manager.rs:100–105  ·  view source on GitHub ↗
(&self, table: T)

Source from the content-addressed store, hash-verified

98/// Schema Inspection.
99impl SchemaManager<'_> {
100 pub async fn has_table<T>(&self, table: T) -> Result<bool, DbErr>
101 where
102 T: AsRef<str>,
103 {
104 has_table(&self.conn, table).await
105 }
106
107 pub async fn has_column<T, C>(&self, _table: T, _column: C) -> Result<bool, DbErr>
108 where

Callers 1

has_tableFunction · 0.80

Calls 1

has_tableFunction · 0.85

Tested by

no test coverage detected