pub trait TableFlavoredStatement {
// Required methods
fn create_stmt<C, R>(&self, conn: &C) -> Result<String>
where C: Connection<R>,
R: Row;
fn create_if_not_exist_stmt<C, R>(&self, conn: &C) -> Result<String>
where C: Connection<R>,
R: Row;
fn drop_stmt<C, R>(&self, conn: &C) -> Result<String>
where C: Connection<R>,
R: Row;
}Expand description
Specify table handling statement using the SQL Flavor
Required Methods§
Sourcefn create_stmt<C, R>(&self, conn: &C) -> Result<String>where
C: Connection<R>,
R: Row,
fn create_stmt<C, R>(&self, conn: &C) -> Result<String>where
C: Connection<R>,
R: Row,
Create table statement
Sourcefn create_if_not_exist_stmt<C, R>(&self, conn: &C) -> Result<String>where
C: Connection<R>,
R: Row,
fn create_if_not_exist_stmt<C, R>(&self, conn: &C) -> Result<String>where
C: Connection<R>,
R: Row,
Create table statement if it does not exists
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<S> TableFlavoredStatement for Swhere
S: TableStatement,
[Deprecated] Blanket statement converting legacy implementation