wal_checkpoint method

int wal_checkpoint(
  1. PtrSqlite3 db,
  2. String zDb
)
inherited

Implementation

int wal_checkpoint(PtrSqlite3 db, String zDb) {
  final zDbMeta = zDb._metaNativeUtf8();
  final ptrZDb = zDbMeta.ptr;
  try {
    return _h_sqlite3_wal_checkpoint(db, ptrZDb);
  } finally {
    pkgffi.malloc.free(ptrZDb);
  }
}