[−][src]Trait ena::sql::Query
New SQL executors
See YotsubaStatement
Required methods
#[must_use]fn first<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<S>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<S>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
For the rest of YotsubaStatement
#[must_use]fn get_list<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<S>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Queue>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<S>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Queue>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
For YotsubaStatement::Threads
, YotsubaStatement::ThreadsModified
, and
YotsubaStatement::ThreadsCombined
#[must_use]fn get_rows<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<S>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Vec<R>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<S>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Vec<R>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
#[must_use]fn create_statements<'life0, 'async_trait>(
&'life0 self,
engine: Database,
endpoint: YotsubaEndpoint,
board: YotsubaBoard
) -> Pin<Box<dyn Future<Output = StatementStore<S>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
engine: Database,
endpoint: YotsubaEndpoint,
board: YotsubaBoard
) -> Pin<Box<dyn Future<Output = StatementStore<S>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementations on Foreign Types
impl Query<Stmt<Conn>, Row> for Pool
[src]
fn first<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn get_list<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Queue>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Queue>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn get_rows<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Vec<Row>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Vec<Row>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn create_statements<'life0, 'async_trait>(
&'life0 self,
engine: Database,
endpoint: YotsubaEndpoint,
board: YotsubaBoard
) -> Pin<Box<dyn Future<Output = StatementStore<Statement>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
engine: Database,
endpoint: YotsubaEndpoint,
board: YotsubaBoard
) -> Pin<Box<dyn Future<Output = StatementStore<Statement>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl Query<Statement, Row> for Client
[src]
For the rest of YotsubaStatement
fn first<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn get_list<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
item: Option<&'life3 [u8]>,
_no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Queue>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
item: Option<&'life3 [u8]>,
_no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Queue>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn get_rows<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
_item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Vec<Row>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
statement: YotsubaStatement,
id: &'life1 QueryIdentifier,
statements: &'life2 StatementStore<Statement>,
_item: Option<&'life3 [u8]>,
no: Option<u64>
) -> Pin<Box<dyn Future<Output = Result<Vec<Row>>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn create_statements<'life0, 'async_trait>(
&'life0 self,
engine: Database,
endpoint: YotsubaEndpoint,
board: YotsubaBoard
) -> Pin<Box<dyn Future<Output = StatementStore<Statement>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
engine: Database,
endpoint: YotsubaEndpoint,
board: YotsubaBoard
) -> Pin<Box<dyn Future<Output = StatementStore<Statement>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,