[][src]Trait rbatis_core::mysql::MySqlQueryAs

pub trait MySqlQueryAs<'q, O> {
    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
;
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
;
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
;
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
; }

Required methods

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, 

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, 

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, 

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, 

Loading content...

Implementors

impl<'q, O> MySqlQueryAs<'q, O> for QueryAs<'q, MySql, O>[src]

Loading content...