Execute a DELETE operation on one ActiveModel
(self, db: &'a C)
| 26 | { |
| 27 | /// Execute a DELETE operation on one ActiveModel |
| 28 | pub fn exec<C>(self, db: &'a C) -> impl Future<Output = Result<DeleteResult, DbErr>> + 'a |
| 29 | where |
| 30 | C: ConnectionTrait, |
| 31 | { |
| 32 | // so that self is dropped before entering await |
| 33 | exec_delete_only(self.query, db) |
| 34 | } |
| 35 | |
| 36 | /// Execute an delete operation and return the deleted model |
| 37 | /// |
no test coverage detected