Trait ormx::Insert[][src]

pub trait Insert where
    Self: Sized + Send + Sync + 'static, 
{ type Table: Table; fn insert(
        self,
        db: &mut <Db as Database>::Connection
    ) -> BoxFuture<'_, Result<Self::Table>>; }
Expand description

A type which can be inserted as a row into the database.

Associated Types

Required methods

Insert a row into the database, returning the inserted row.

Implementors