How can I get the number of rows updated using an update statement in SQLite in Android?
update
Note that I need to use some type of raw execute of a SQL state
Expanding on Mat and Pang's answers...
Could we skip the Cursor and use simpleQueryForLong()?
simpleQueryForLong()
e.g.
public long getChangesCount() { SQLiteDatabase db = getReadableDatabase(); SQLiteStatement statement = db.compileStatement("SELECT changes()"); return statement.simpleQueryForLong(); }