
Bulk Delete
Bulk delete is a way to write SQL delete statements with in welds.
Bulk delete is accessed on QueryBuilder<T> via delete
.
To use bulk delete call delete with the client.
#![allow(unused)] fn main() { Product::all() .where_col(|x| x.name.ilike("% - discontinued") ) .delete(&client).await?; }