preupdate_hook method

PtrVoid preupdate_hook(
  1. PtrSqlite3 db,
  2. PtrDefxPreUpdate xPreUpdate,
  3. PtrVoid arg1
)
inherited

Implementation

PtrVoid preupdate_hook(PtrSqlite3 db, PtrDefxPreUpdate xPreUpdate, PtrVoid arg1) {
  if (_h_sqlite3_preupdate_hook == null) {
    throw dbsql.DatabaseException(
        'API sqlite3_preupdate_hook is not available, You need to enable it during library build.');
  }
  return _h_sqlite3_preupdate_hook!(db, xPreUpdate, arg1);
}