Skip to main content

insert

Function insert 

Source
pub async fn insert<A>(active: A) -> Result<<A::Entity as EntityTrait>::Model>
Expand description

Insert an active model and return the stored row, running the model’s create hooks around the write.