Struct mysql_async::Stmt
[−]
[src]
pub struct Stmt<T> { /* fields omitted */ }
Prepared statement
Methods
impl<T> Stmt<T> where
T: ConnectionLike + Sized + 'static,
[src]
T: ConnectionLike + Sized + 'static,
pub fn execute<P>(
self,
params: P
) -> BoxFuture<QueryResult<Self, BinaryProtocol>> where
P: Into<Params>,
[src]
self,
params: P
) -> BoxFuture<QueryResult<Self, BinaryProtocol>> where
P: Into<Params>,
See Queriable::execute
pub fn first<P, R>(self, params: P) -> BoxFuture<(Self, Option<R>)> where
P: Into<Params>,
R: FromRow,
[src]
P: Into<Params>,
R: FromRow,
See Queriable::first
pub fn batch<I, P>(self, params_iter: I) -> BoxFuture<Self> where
I: IntoIterator<Item = P> + 'static,
Params: From<P>,
P: 'static,
[src]
I: IntoIterator<Item = P> + 'static,
Params: From<P>,
P: 'static,
See Queriable::batch
pub fn close(self) -> BoxFuture<T>
[src]
This will close statement (it it's not in the cache) and resolve to a wrapped queryable.