[−][src]Struct barrel::backend::MySql
MySQL generator backend
Trait Implementations
impl SqlGenerator for MySql
[src]
fn create_table(name: &str, schema: Option<&str>) -> String
[src]
fn create_table_if_not_exists(name: &str, schema: Option<&str>) -> String
[src]
fn drop_table(name: &str, schema: Option<&str>) -> String
[src]
fn drop_table_if_exists(name: &str, schema: Option<&str>) -> String
[src]
fn rename_table(old: &str, new: &str, schema: Option<&str>) -> String
[src]
fn alter_table(name: &str, schema: Option<&str>) -> String
[src]
fn add_column(ex: bool, schema: Option<&str>, name: &str, tt: &Type) -> String
[src]
fn drop_column(name: &str) -> String
[src]
fn rename_column(old: &str, new: &str) -> String
[src]
fn create_index(
table: &str,
schema: Option<&str>,
name: &str,
_type: &Type
) -> String
[src]
table: &str,
schema: Option<&str>,
name: &str,
_type: &Type
) -> String
fn drop_index(name: &str) -> String
[src]
Auto Trait Implementations
impl RefUnwindSafe for MySql
impl Send for MySql
impl Sync for MySql
impl Unpin for MySql
impl UnwindSafe for MySql
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,