pub async fn insert_without_hooks<A>(
active: A,
) -> Result<<A::Entity as EntityTrait>::Model>where
A: ActiveModelTrait + ActiveModelBehavior + Send,
<A::Entity as EntityTrait>::Model: IntoActiveModel<A>,Expand description
Insert without running hooks.
Named for what it costs you. Reach for it in seeders and fixtures where hooks would be wrong, never in application code.