Docs
This commit is contained in:
parent
07b1e78226
commit
727d83c9d7
@ -47,6 +47,10 @@ where
|
||||
}
|
||||
|
||||
/// Execute an update operation and return the updated model (use `RETURNING` syntax if database supported)
|
||||
///
|
||||
/// # Panics
|
||||
///
|
||||
/// Panics if the database backend does not support `UPDATE RETURNING`.
|
||||
pub async fn exec_with_returning<C>(self, db: &'a C) -> Result<Vec<E::Model>, DbErr>
|
||||
where
|
||||
C: ConnectionTrait,
|
||||
|
Loading…
x
Reference in New Issue
Block a user