Get the number of rows updated in SQLite?

In other languages I’ve used, after running update SQL, it returns the number of rows updated. However, when I run DBInterface.execute("update Test set val='green' where id=1"), it seems to return nothing. Is there a way to get the number of rows updated when executing an update statement?

I found that I can run select changes() to get it, but is there a way to get it in a single call?

1 Like