[−][src]Trait gluesql::store::StoreMut
StoreMut
takes role of mutation, related to INSERT
, CREATE
, DELETE
, DROP
and
UPDATE
.
Required methods
#[must_use]pub fn generate_id<'life0, 'async_trait>(
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, T>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, T>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn insert_schema<'life0, 'async_trait>(
self,
schema: &'life0 Schema
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
schema: &'life0 Schema
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn delete_schema<'life0, 'async_trait>(
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn insert_data<'life0, 'async_trait>(
self,
key: &'life0 T,
row: Row
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
key: &'life0 T,
row: Row
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]pub fn delete_data<'life0, 'async_trait>(
self,
key: &'life0 T
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
key: &'life0 T
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl StoreMut<IVec> for SledStorage
[src]
pub fn generate_id<'life0, 'async_trait>(
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, IVec>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, IVec>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn insert_schema<'life0, 'async_trait>(
self,
schema: &'life0 Schema
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
schema: &'life0 Schema
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn delete_schema<'life0, 'async_trait>(
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
table_name: &'life0 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn insert_data<'life0, 'async_trait>(
self,
key: &'life0 IVec,
row: Row
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
key: &'life0 IVec,
row: Row
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
pub fn delete_data<'life0, 'async_trait>(
self,
key: &'life0 IVec
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
self,
key: &'life0 IVec
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,