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