Struct sqlx_core::mysql::MySqlStatement [−][src]
pub struct MySqlStatement<'q> { /* fields omitted */ }
Trait Implementations
Returns a valid positional index into the row or statement, ColumnIndexOutOfBounds
, or,
ColumnNotFound
. Read more
Returns a valid positional index into the row or statement, ColumnIndexOutOfBounds
, or,
ColumnNotFound
. Read more
Performs the conversion.
Creates an owned statement from this statement reference. This copies the original SQL text. Read more
Get the expected parameters for this statement. Read more
Get the columns expected to be returned by executing this statement.
fn query_with<'s, A>(&'s self, arguments: A) -> Query<'s, Self::Database, A> where
A: IntoArguments<'s, Self::Database>,
fn query_as<O>(
&self
) -> QueryAs<'_, Self::Database, O, <Self::Database as HasArguments<'_>>::Arguments> where
O: for<'r> FromRow<'r, <Self::Database as Database>::Row>,
fn query_as_with<'s, O, A>(
&'s self,
arguments: A
) -> QueryAs<'s, Self::Database, O, A> where
O: for<'r> FromRow<'r, <Self::Database as Database>::Row>,
A: IntoArguments<'s, Self::Database>,
fn query_scalar<O>(
&self
) -> QueryScalar<'_, Self::Database, O, <Self::Database as HasArguments<'_>>::Arguments> where
(O,): for<'r> FromRow<'r, <Self::Database as Database>::Row>,
fn query_scalar_with<'s, O, A>(
&'s self,
arguments: A
) -> QueryScalar<'s, Self::Database, O, A> where
(O,): for<'r> FromRow<'r, <Self::Database as Database>::Row>,
A: IntoArguments<'s, Self::Database>,
Gets the column information at index
. Read more
fn try_column<I>(
&self,
index: I
) -> Result<&<Self::Database as Database>::Column, Error> where
I: ColumnIndex<Self>,
fn try_column<I>(
&self,
index: I
) -> Result<&<Self::Database as Database>::Column, Error> where
I: ColumnIndex<Self>,
Gets the column information at index
or None
if out of bounds.
Auto Trait Implementations
impl<'q> RefUnwindSafe for MySqlStatement<'q>
impl<'q> Send for MySqlStatement<'q>
impl<'q> Sync for MySqlStatement<'q>
impl<'q> Unpin for MySqlStatement<'q>
impl<'q> UnwindSafe for MySqlStatement<'q>
Blanket Implementations
Mutably borrows from an owned value. Read more