Struct sea_schema::mysql::query::SchemaQueryBuilder
source · [−]pub struct SchemaQueryBuilder {
pub system: SystemInfo,
}
Available on crate features
mysql
and query
only.Fields
system: SystemInfo
Implementations
sourceimpl SchemaQueryBuilder
impl SchemaQueryBuilder
pub fn query_columns(
&self,
schema: SeaRc<dyn Iden>,
table: SeaRc<dyn Iden>
) -> SelectStatement
sourceimpl SchemaQueryBuilder
impl SchemaQueryBuilder
pub fn query_foreign_key(
&self,
schema: SeaRc<dyn Iden>,
table: SeaRc<dyn Iden>
) -> SelectStatement
sourceimpl SchemaQueryBuilder
impl SchemaQueryBuilder
pub fn query_indexes(
&self,
schema: SeaRc<dyn Iden>,
table: SeaRc<dyn Iden>
) -> SelectStatement
sourceimpl SchemaQueryBuilder
impl SchemaQueryBuilder
pub fn new(system: SystemInfo) -> Self
sourceimpl SchemaQueryBuilder
impl SchemaQueryBuilder
pub fn query_tables(&self, schema: SeaRc<dyn Iden>) -> SelectStatement
sourceimpl SchemaQueryBuilder
impl SchemaQueryBuilder
pub fn query_version(&self) -> SelectStatement
Trait Implementations
sourceimpl Debug for SchemaQueryBuilder
impl Debug for SchemaQueryBuilder
sourceimpl Default for SchemaQueryBuilder
impl Default for SchemaQueryBuilder
sourcefn default() -> SchemaQueryBuilder
fn default() -> SchemaQueryBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SchemaQueryBuilder
impl Send for SchemaQueryBuilder
impl Sync for SchemaQueryBuilder
impl Unpin for SchemaQueryBuilder
impl UnwindSafe for SchemaQueryBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more