note 97094 deleted from function.sqlite-changes by cmb
| From: | cmb@php.net | Date: | Mon, 02 Nov 2020 14:57:49 +0000 |
| Subject: | note 97094 deleted from function.sqlite-changes by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215720@lists.php.net to get a copy of this message | ||
Note Submitter: jazz at funkynerd dot com
----
When executing DELETEs, I found that adding an always true WHERE clause returns the number of rows
deleted.
eg: "DELETE FROM my_table WHERE 1" will delete all the rows and sqlite_changes() will
return the correct number of rows deleted.