Struct ydb_unofficial::sqlx::statement::YdbStatement
source · pub struct YdbStatement { /* private fields */ }Available on crate feature
sqlx only.Implementations§
Trait Implementations§
source§impl Clone for YdbStatement
impl Clone for YdbStatement
source§fn clone(&self) -> YdbStatement
fn clone(&self) -> YdbStatement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for YdbStatement
impl Debug for YdbStatement
source§impl Statement<'_> for YdbStatement
impl Statement<'_> for YdbStatement
type Database = Ydb
source§fn to_owned(&self) -> YdbStatement
fn to_owned(&self) -> YdbStatement
Creates an owned statement from this statement reference. This copies
the original SQL text.
source§fn parameters(&self) -> Option<Either<&[YdbTypeInfo], usize>>
fn parameters(&self) -> Option<Either<&[YdbTypeInfo], usize>>
Get the expected parameters for this statement. Read more
source§fn columns(&self) -> &[YdbColumn]
fn columns(&self) -> &[YdbColumn]
Get the columns expected to be returned by executing this statement.
fn query(&self) -> Query<'_, Self::Database, YdbArguments>
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>
fn query_as_with<'s, O, A>( &'s self, arguments: A ) -> QueryAs<'s, Self::Database, O, A>
fn query_scalar<O>( &self ) -> QueryScalar<'_, Self::Database, O, <Self::Database as HasArguments<'_>>::Arguments>
fn query_scalar_with<'s, O, A>( &'s self, arguments: A ) -> QueryScalar<'s, Self::Database, O, A>
source§fn column<I>(&self, index: I) -> &<Self::Database as Database>::Columnwhere
I: ColumnIndex<Self>,
fn column<I>(&self, index: I) -> &<Self::Database as Database>::Columnwhere
I: ColumnIndex<Self>,
Gets the column information at
index. Read moresource§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 RefUnwindSafe for YdbStatement
impl Send for YdbStatement
impl Sync for YdbStatement
impl Unpin for YdbStatement
impl UnwindSafe for YdbStatement
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request