Struct sea_orm::InsertResult
source · pub struct InsertResult<A>where
A: ActiveModelTrait,{
pub last_insert_id: <<<A as ActiveModelTrait>::Entity as EntityTrait>::PrimaryKey as PrimaryKeyTrait>::ValueType,
}
Expand description
The result of an INSERT operation on an ActiveModel
Fields§
§last_insert_id: <<<A as ActiveModelTrait>::Entity as EntityTrait>::PrimaryKey as PrimaryKeyTrait>::ValueType
The id performed when AUTOINCREMENT was performed on the PrimaryKey