Callback to use with ksqlite.capi.sqlite3_preupdate_hook.
Details on parameters and result can be found here.