[−][src]Trait sqlx::mysql::MySqlQueryAs
This is supported on
feature="mysql"
only.Required methods
fn fetch<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Stream<Item = Result<O, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + Unpin + FromRow<'c, MySqlRow<'c>>,
self,
executor: E
) -> Pin<Box<dyn Stream<Item = Result<O, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + Unpin + FromRow<'c, MySqlRow<'c>>,
This is supported on
feature="mysql"
only.fn fetch_all<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Vec<O>, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Vec<O>, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
This is supported on
feature="mysql"
only.fn fetch_one<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<O, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<O, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
This is supported on
feature="mysql"
only.fn fetch_optional<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Option<O>, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Option<O>, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
This is supported on
feature="mysql"
only.Implementors
impl<'q, O> MySqlQueryAs<'q, O> for QueryAs<'q, MySql, O>
[src]
fn fetch<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Stream<Item = Result<O, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + Unpin + FromRow<'c, MySqlRow<'c>>,
[src]
self,
executor: E
) -> Pin<Box<dyn Stream<Item = Result<O, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + Unpin + FromRow<'c, MySqlRow<'c>>,
fn fetch_optional<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Option<O>, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
[src]
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Option<O>, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
fn fetch_one<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<O, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
[src]
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<O, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
fn fetch_all<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Vec<O>, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,
[src]
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Vec<O>, Error<MySql>>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = MySql>,
O: 'e + Send + FromRow<'c, MySqlRow<'c>>,