Closed ncabatoff closed 7 months ago
Thanks @ncabatoff it's fine to keep it as a single PR, I will review later today
Hey @houqp, just a reminder that this could use a review when you get a chance. Thanks!
sorry for the delay @ncabatoff , merged.
Thanks!
Arguably this PR should be split into two, but I thought I'd first see whether the maintainer minded accepting them as a single PR, since it would've been a bit more work to split it.
The first change is to add support for DELETE USING statements.
The second change is to treat DELETE statements that don't have a WHERE clause, or that have a WHERE clause but without any column names in it, as an error. These are usually errors in my experience, and I'd prefer to have sqlvet refuse to allow them unless ignored.