• TheSlad@sh.itjust.works
    link
    fedilink
    arrow-up
    16
    ·
    8 months ago

    Where clauses should be syntactically required for delete or update statements. Throw an error without them. If you really want to hit every record in the table then throw a WHERE true in there just to be explicit.

    Its such a common mistake i dont get why this isnt a thing.