Skip to content

Disallow update/delete without conditions

Compare
Choose a tag to compare
@Sharaal Sharaal released this 13 Nov 11:53

Major

  • .update() and .delete() manipulation methods throw errors now if called without conditions. If this is needed .updateAll() and .deleteAll() are available (#46)

From:

sql.delete('...')

To:

sql.deleteAll('...')