Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Using subselect for `delete_all` with `limit` or `offset`
Arel doesn't support subselect generation for DELETE unlike UPDATE yet, but we already have that generation in connection adapters. We can simply use the subselect generated by that one.
- Loading branch information
Showing
with
29 additions
and 6 deletions.