I'm writing an application in PHP 5. I want to delete some rows in a SQLite v2 database file. I'm doing something like this:
$sqliteConnection = new SQLiteDatabase('path/to/db');
$queryString = "DELETE FROM myTable WHERE status='not good'";
$result = $sqliteConnection->query($queryString);
how can I know how many rows were affected by this query? how many rows have I deleted?