Trait sea_schema::probe::SchemaProbe
source · [−]pub trait SchemaProbe {
fn get_current_schema() -> SimpleExpr;
fn query_tables() -> SelectStatement;
fn has_table<T>(table: T) -> SelectStatement
where
T: AsRef<str>,
{ ... }
fn has_column<T, C>(table: T, column: C) -> SelectStatement
where
T: AsRef<str>,
C: AsRef<str>,
{ ... }
}
Required Methods
fn get_current_schema() -> SimpleExpr
fn query_tables() -> SelectStatement
Provided Methods
fn has_table<T>(table: T) -> SelectStatement where
T: AsRef<str>,
fn has_column<T, C>(table: T, column: C) -> SelectStatement where
T: AsRef<str>,
C: AsRef<str>,
Implementors
impl SchemaProbe for MySql
Available on crate features
probe
and mysql
only.impl SchemaProbe for Postgres
Available on crate features
probe
and postgres
only.impl SchemaProbe for Sqlite
Available on crate features
probe
and sqlite
only.