[−][src]Trait sqlx::prelude::SqliteQueryAs
Required methods
fn fetch<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Stream<Item = Result<O, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + Unpin + for<'c> FromRow<'c, SqliteRow<'c>>,
self,
executor: E
) -> Pin<Box<dyn Stream<Item = Result<O, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + Unpin + for<'c> FromRow<'c, SqliteRow<'c>>,
fn fetch_all<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Vec<O>, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Vec<O>, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
fn fetch_one<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<O, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<O, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
fn fetch_optional<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Option<O>, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Option<O>, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
Implementors
impl<'q, O> SqliteQueryAs<'q, O> for QueryAs<'q, Sqlite, O>
[src]
fn fetch<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Stream<Item = Result<O, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + Unpin + for<'c> FromRow<'c, SqliteRow<'c>>,
[src]
self,
executor: E
) -> Pin<Box<dyn Stream<Item = Result<O, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + Unpin + for<'c> FromRow<'c, SqliteRow<'c>>,
fn fetch_optional<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Option<O>, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
[src]
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Option<O>, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
fn fetch_one<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<O, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
[src]
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<O, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
fn fetch_all<'e, E>(
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Vec<O>, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,
[src]
self,
executor: E
) -> Pin<Box<dyn Future<Output = Result<Vec<O>, Error>> + 'e + Send>> where
'q: 'e,
E: 'e + Send + RefExecutor<'e, Database = Sqlite>,
O: 'e + Send + for<'c> FromRow<'c, SqliteRow<'c>>,