Trait gluesql::store::Store [−][src]
pub trait Store<T: Debug> {
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_data<'life0, 'life1, 'async_trait>(
&'life0 self,
table_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<RowIter<T>>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}
Expand description
By implementing Store
trait, you can run SELECT
query.