Trait ormx::Insert [−][src]
A type which can be inserted as a row into the database.
Associated Types
Loading content...Required methods
fn insert(
self,
db: &mut <Db as Database>::Connection
) -> BoxFuture<'_, Result<Self::Table>>
[src]
self,
db: &mut <Db as Database>::Connection
) -> BoxFuture<'_, Result<Self::Table>>
Insert a row into the database, returning the inserted row.