Struct mysql_async::Stmt
source · pub struct Stmt<T> { /* private fields */ }
Expand description
Prepared statement
Implementations§
source§impl<T> Stmt<T>where
T: ConnectionLike + Sized + 'static,
impl<T> Stmt<T>where
T: ConnectionLike + Sized + 'static,
sourcepub fn execute<P>(
self,
params: P
) -> impl MyFuture<QueryResult<Self, BinaryProtocol>>where
P: Into<Params>,
pub fn execute<P>(
self,
params: P
) -> impl MyFuture<QueryResult<Self, BinaryProtocol>>where
P: Into<Params>,
See Queriable::execute
sourcepub fn first<P, R>(self, params: P) -> impl MyFuture<(Self, Option<R>)>where
P: Into<Params> + 'static,
R: FromRow,
pub fn first<P, R>(self, params: P) -> impl MyFuture<(Self, Option<R>)>where
P: Into<Params> + 'static,
R: FromRow,
See Queriable::first