On 15/6/19 3:06 AM, Jose Isaias Cabrera wrote: > Jose Isaias Cabrera, on Friday, June 14, 2019 02:50 PM, wrote... > >> Yes, and no. From what I understand, and have been using it, if >> something was written to the DB, it will give you a 1. Otherwise >> a 0. But, it is not the amount of fields, just a write. ie. > This is wrong information. It does give you the amount of fields updated. Ie.
changes() returns the number of *rows* modified, not fields. See https://sqlite.org/c3ref/changes.html for the base API function documentation, which also reveals important details on how it counts changes in various environments (e.g. triggers, multithreaded updates). _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users