Deletes this row from the database
(
self,
db: impl Executor<'c, Database = Db> + 'a,
)
| 167 | |
| 168 | /// Deletes this row from the database |
| 169 | fn delete<'a, 'c: 'a>( |
| 170 | self, |
| 171 | db: impl Executor<'c, Database = Db> + 'a, |
| 172 | ) -> impl Future<Output = Result<()>> + Send + 'a { |
| 173 | Self::delete_row(db, self.id()) |
| 174 | } |
| 175 | |
| 176 | /// Deletes this row from the database |
| 177 | fn delete_ref<'a, 'c: 'a>( |