Q:

How to obtain affected rows of an update called through execSQL() or rawQuery() SQLite?

What is the command line SQL statment of retrieving the number of affected rows of the last UPDATE SQLite statement.  A MySQL example is ROW_COUNT().  The PRAGMA count_changes; SQLite Pragma statment is deprecated and so I'm not going to use it.
I do not want to use SQLiteDatabase.update() to retrieve this information, I would like to know how to do this using nothing but raw queries, either by .rawQuery() or .execSQL().
Thanks

A:

You can use the SQLite changes() function.

