Struct mysql_async::Stmt
[−]
[src]
pub struct Stmt { /* fields omitted */ }
Prepared MySql statement.
Methods
impl Stmt
[src]
fn execute<T: Into<Params>>(self, params: T) -> Execute
Returns future that executes statement and resolves to BinQueryResult
.
fn batch<T: Into<Params>>(self, params_vec: Vec<T>) -> Batch
Returns future that performs batch execution of statement and resolves to Stmt
.
All results will be dropped.
fn first<T: Into<Params>, R: FromRow>(self, params: T) -> First<R>
Returns future that executes statement and resolves to a first row of result if any.
Returned future will call R::from_row(row)
internally.
fn unwrap(self) -> Conn
Unwraps Conn
.