[][src]Trait gluesql::store::AlterTable

pub trait AlterTable where
    Self: Sized
{ #[must_use] fn rename_schema<'life0, 'life1, 'async_trait>(
        self,
        table_name: &'life0 str,
        new_table_name: &'life1 str
    ) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn rename_column<'life0, 'life1, 'life2, 'async_trait>(
        self,
        table_name: &'life0 str,
        old_column_name: &'life1 str,
        new_column_name: &'life2 str
    ) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn add_column<'life0, 'life1, 'async_trait>(
        self,
        table_name: &'life0 str,
        column_def: &'life1 ColumnDef
    ) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn drop_column<'life0, 'life1, 'async_trait>(
        self,
        table_name: &'life0 str,
        column_name: &'life1 str,
        if_exists: bool
    ) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn rename_schema<'life0, 'life1, 'async_trait>(
    self,
    table_name: &'life0 str,
    new_table_name: &'life1 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

#[must_use]fn rename_column<'life0, 'life1, 'life2, 'async_trait>(
    self,
    table_name: &'life0 str,
    old_column_name: &'life1 str,
    new_column_name: &'life2 str
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    Self: 'async_trait, 

#[must_use]fn add_column<'life0, 'life1, 'async_trait>(
    self,
    table_name: &'life0 str,
    column_def: &'life1 ColumnDef
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

#[must_use]fn drop_column<'life0, 'life1, 'async_trait>(
    self,
    table_name: &'life0 str,
    column_name: &'life1 str,
    if_exists: bool
) -> Pin<Box<dyn Future<Output = MutResult<Self, ()>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 

Loading content...

Implementors

impl AlterTable for SledStorage[src]

Loading content...