[−][src]Struct rbatis_core::query_as::QueryAs
Implementations
impl<'q, DB, O> QueryAs<'q, DB, O> where
DB: Database, [src]
DB: Database,
pub fn bind<T>(self, value: T) -> Self where
T: Type<DB>,
T: Encode<DB>, [src]
T: Type<DB>,
T: Encode<DB>,
Bind a value for use with this SQL query.
Trait Implementations
impl<'q, DB: Debug, O: Debug> Debug for QueryAs<'q, DB, O> where
DB: Database, [src]
DB: Database,
impl<'q, DB, O: Send> Execute<'q, DB> for QueryAs<'q, DB, O> where
DB: Database, [src]
DB: Database,
impl<'q, O> MySqlQueryAs<'q, O> for QueryAs<'q, MySql, O>[src]
fn fetch<'e, E>(self, executor: E) -> BoxStream<'e, Result<O>> where
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + Unpin + for<'c> FromRow<'c, MySqlRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + Unpin + for<'c> FromRow<'c, MySqlRow<'c>>,
'q: 'e,
fn fetch_optional<'e, E>(self, executor: E) -> BoxFuture<'e, Result<Option<O>>> where
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + for<'c> FromRow<'c, MySqlRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + for<'c> FromRow<'c, MySqlRow<'c>>,
'q: 'e,
fn fetch_one<'e, E>(self, executor: E) -> BoxFuture<'e, Result<O>> where
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + for<'c> FromRow<'c, MySqlRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + for<'c> FromRow<'c, MySqlRow<'c>>,
'q: 'e,
fn fetch_all<'e, E>(self, executor: E) -> BoxFuture<'e, Result<Vec<O>>> where
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + for<'c> FromRow<'c, MySqlRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + for<'c> FromRow<'c, MySqlRow<'c>>,
'q: 'e,
impl<'q, O> PgQueryAs<'q, O> for QueryAs<'q, Postgres, O>[src]
fn fetch<'e, E>(self, executor: E) -> BoxStream<'e, Result<O>> where
E: 'e + Send + RefExecutor<'e, Database = Postgres>,
O: 'e + Send + Unpin + for<'c> FromRow<'c, PgRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = Postgres>,
O: 'e + Send + Unpin + for<'c> FromRow<'c, PgRow<'c>>,
'q: 'e,
fn fetch_optional<'e, E>(self, executor: E) -> BoxFuture<'e, Result<Option<O>>> where
E: 'e + Send + RefExecutor<'e, Database = Postgres>,
O: 'e + Send + for<'c> FromRow<'c, PgRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = Postgres>,
O: 'e + Send + for<'c> FromRow<'c, PgRow<'c>>,
'q: 'e,
fn fetch_one<'e, E>(self, executor: E) -> BoxFuture<'e, Result<O>> where
E: 'e + Send + RefExecutor<'e, Database = Postgres>,
O: 'e + Send + for<'c> FromRow<'c, PgRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = Postgres>,
O: 'e + Send + for<'c> FromRow<'c, PgRow<'c>>,
'q: 'e,
fn fetch_all<'e, E>(self, executor: E) -> BoxFuture<'e, Result<Vec<O>>> where
E: 'e + Send + RefExecutor<'e, Database = Postgres>,
O: 'e + Send + for<'c> FromRow<'c, PgRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = Postgres>,
O: 'e + Send + for<'c> FromRow<'c, PgRow<'c>>,
'q: 'e,
impl<'q, O> SqliteQueryAs<'q, O> for QueryAs<'q, Sqlite, O>[src]
fn fetch<'e, E>(self, executor: E) -> BoxStream<'e, Result<O>> where
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + Unpin + for<'c> FromRow<'c, SqliteRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + Unpin + for<'c> FromRow<'c, SqliteRow<'c>>,
'q: 'e,
fn fetch_optional<'e, E>(self, executor: E) -> BoxFuture<'e, Result<Option<O>>> where
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
'q: 'e,
fn fetch_one<'e, E>(self, executor: E) -> BoxFuture<'e, Result<O>> where
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
'q: 'e,
fn fetch_all<'e, E>(self, executor: E) -> BoxFuture<'e, Result<Vec<O>>> where
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
'q: 'e, [src]
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
'q: 'e,
Auto Trait Implementations
impl<'q, DB, O> RefUnwindSafe for QueryAs<'q, DB, O> where
DB: RefUnwindSafe,
O: RefUnwindSafe,
<DB as Database>::Arguments: RefUnwindSafe,
DB: RefUnwindSafe,
O: RefUnwindSafe,
<DB as Database>::Arguments: RefUnwindSafe,
impl<'q, DB, O> Send for QueryAs<'q, DB, O> where
O: Send,
<DB as Database>::Arguments: Send,
O: Send,
<DB as Database>::Arguments: Send,
impl<'q, DB, O> Sync for QueryAs<'q, DB, O> where
DB: Sync,
O: Sync,
<DB as Database>::Arguments: Sync,
DB: Sync,
O: Sync,
<DB as Database>::Arguments: Sync,
impl<'q, DB, O> Unpin for QueryAs<'q, DB, O> where
DB: Unpin,
O: Unpin,
<DB as Database>::Arguments: Unpin,
DB: Unpin,
O: Unpin,
<DB as Database>::Arguments: Unpin,
impl<'q, DB, O> UnwindSafe for QueryAs<'q, DB, O> where
DB: UnwindSafe,
O: UnwindSafe,
<DB as Database>::Arguments: UnwindSafe,
DB: UnwindSafe,
O: UnwindSafe,
<DB as Database>::Arguments: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,