Struct sea_query::table::TableDropStatement [−][src]
pub struct TableDropStatement { /* fields omitted */ }Expand description
Drop a table
Examples
use sea_query::{*, tests_cfg::*}; let table = Table::drop() .table(Glyph::Table) .table(Char::Table) .to_owned(); assert_eq!( table.to_string(MysqlQueryBuilder), r#"DROP TABLE `glyph`, `character`"# ); assert_eq!( table.to_string(PostgresQueryBuilder), r#"DROP TABLE "glyph", "character""# ); assert_eq!( table.to_string(SqliteQueryBuilder), r#"DROP TABLE `glyph`, `character`"# );
Implementations
Trait Implementations
Build corresponding SQL statement for certain database backend and return SQL string
Build corresponding SQL statement for certain database backend and return SQL string
Build corresponding SQL statement for certain database backend and return SQL string
Auto Trait Implementations
impl !RefUnwindSafe for TableDropStatementimpl !Send for TableDropStatementimpl !Sync for TableDropStatementimpl Unpin for TableDropStatementimpl !UnwindSafe for TableDropStatementBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V