pub trait DBBase {
fn fetch_schema<'life0, 'life1, 'async_trait>(
&'life0 self,
_table_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Option<Schema>>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
fn scan_schemas<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Schema>>> + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait,
{ ... }
fn scan_data<'life0, 'life1, 'async_trait>(
&'life0 self,
_table_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Vec<(Value, Row)>>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
fn scan_data_indexed<'life0, 'life1, 'async_trait>(
&'life0 self,
_table_name: &'life1 str,
_index_filters: IndexFilter
) -> Pin<Box<dyn Future<Output = Result<Vec<(Value, Row)>>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
fn scan_index<'life0, 'life1, 'async_trait>(
&'life0 self,
_table_name: &'life1 str,
_index_filter: IndexFilter
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
{ ... }
}
Expand description
Store
-> SELECT