snapshot_free method

void snapshot_free(
  1. PtrSnapshot arg1
)
inherited

Implementation

void snapshot_free(PtrSnapshot arg1) {
  if (libVersionNumber < 3010000) {
    throw dbsql.DatabaseException('API sqlite3_snapshot_free is not available before 3.10.0');
  }
  if (_h_sqlite3_snapshot_free! == null) {
    throw dbsql.DatabaseException(
        'API sqlite3_snapshot_free is not available, You need to enable it during library build.');
  }
  return _h_sqlite3_snapshot_free!(arg1);
}