db_mutex method

PtrMutex? db_mutex(
  1. PtrSqlite3 arg1
)
inherited

Implementation

PtrMutex? db_mutex(PtrSqlite3 arg1) {
  if (libVersionNumber < 3006005) {
    throw dbsql.DatabaseException('API sqlite3_db_mutex is not available before 3.6.5');
  }
  var result = _h_sqlite3_db_mutex!(arg1);
  return result == ffi.nullptr ? null : result;
}