SQLiteLibrary class

Native binder provide a compatible method to access SQLite C APIs.

Properties

hashCode int
The hash code for this object.
no setterinherited
library DynamicLibrary
finalinherited
libVersion String
return dynamic library version
no setterinherited
libVersionNumber int
return SQLite dynamic library version as number
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceId String
return dynamic library source id
no setterinherited

Methods

aggregate_context(PtrContext arg1, int nBytes) PtrVoid?
inherited
auto_extension(PtrSyscallPtr xEntryPoint) int
inherited
backup_finish(PtrBackup p) int
inherited
backup_init(PtrSqlite3 pDest, String zDestName, PtrSqlite3 pSource, String zSourceName) PtrBackup?
inherited
backup_pagecount(PtrBackup p) int
inherited
backup_remaining(PtrBackup p) int
inherited
backup_step(PtrBackup p, int nPage) int
inherited
bind_blob(PtrStmt arg1, int arg2, Uint8List? arg3) int
inherited
bind_blob64(PtrStmt arg1, int arg2, Uint8List? arg3) int
inherited
bind_double(PtrStmt arg1, int arg2, double arg3) int
inherited
bind_int(PtrStmt arg1, int arg2, int arg3) int
inherited
bind_int64(PtrStmt arg1, int arg2, int arg3) int
inherited
bind_null(PtrStmt arg1, int arg2) int
inherited
bind_parameter_count(PtrStmt arg1) int
inherited
bind_parameter_index(PtrStmt arg1, String zName) int
inherited
bind_parameter_name(PtrStmt arg1, int arg2) String?
inherited
bind_text(PtrStmt arg1, int arg2, String? arg3) int
inherited
bind_text16(PtrStmt arg1, int arg2, String? arg3) int
inherited
bind_text64(PtrStmt arg1, int arg2, String? arg3, int encoding) int
inherited
bind_zeroblob(PtrStmt arg1, int arg2, int n) int
inherited
bind_zeroblob64(PtrStmt arg1, int arg2, int arg3) int
inherited
blob_bytes(PtrBlob arg1) int
inherited
blob_close(PtrBlob arg1) int
inherited
blob_open(PtrSqlite3 arg1, String zDb, String zTable, String zColumn, int iRow, int flags, PtrPtrBlob ppBlob) int
inherited
blob_read(PtrBlob arg1, PtrVoid Z, int N, int iOffset) int
inherited
blob_reopen(PtrBlob arg1, int arg2) int
inherited
blob_write(PtrBlob arg1, PtrVoid z, int n, int iOffset) int
inherited
busy_handler(PtrSqlite3 arg1, PtrDefDefTypeGen7 ptrDefDefTypeGen7, PtrVoid arg2) int
inherited
busy_timeout(PtrSqlite3 arg1, int ms) int
inherited
cancel_auto_extension(PtrSyscallPtr xEntryPoint) int
inherited
changes(PtrSqlite3 arg1) int
inherited
checkVersion(String api, String version, int numVersion) → void
inherited
clear_bindings(PtrStmt arg1) int
inherited
close(PtrSqlite3 arg1) Future<int>
inherited
close_v2(PtrSqlite3 arg1) Future<int>
inherited
collation_needed(PtrSqlite3 arg1, PtrVoid arg2, PtrDefDefTypeGen8 ptrDefDefTypeGen8) int
inherited
collation_needed16(PtrSqlite3 arg1, PtrVoid arg2, PtrDefDefTypeGen9 ptrDefDefTypeGen9) int
inherited
column_blob(PtrStmt arg1, int iCol) Uint8List?
inherited
column_bytes(PtrStmt arg1, int iCol) int
inherited
column_bytes16(PtrStmt arg1, int iCol) int
inherited
column_count(PtrStmt pStmt) int
inherited
column_database_name(PtrStmt arg1, int arg2) String?
inherited
column_database_name16(PtrStmt arg1, int arg2) String?
inherited
column_decltype(PtrStmt arg1, int arg2) String?
inherited
column_decltype16(PtrStmt arg1, int arg2) String?
inherited
column_double(PtrStmt arg1, int iCol) double
inherited
column_int(PtrStmt arg1, int iCol) int
inherited
column_int64(PtrStmt arg1, int iCol) int
inherited
column_name(PtrStmt arg1, int N) String?
inherited
column_name16(PtrStmt arg1, int N) String?
inherited
column_origin_name(PtrStmt arg1, int arg2) String?
inherited
column_origin_name16(PtrStmt arg1, int arg2) String?
inherited
column_table_name(PtrStmt arg1, int arg2) String?
inherited
column_table_name16(PtrStmt arg1, int arg2) String?
inherited
column_text(PtrStmt arg1, int iCol) String?
inherited
column_text16(PtrStmt arg1, int iCol) String?
inherited
column_type(PtrStmt arg1, int iCol) int
inherited
commit_hook(PtrSqlite3 arg1, PtrDefxSize ptrDefxSize, PtrVoid arg2) PtrVoid?
inherited
compileoption_get(int N) String?
inherited
compileoption_used(String zOptName) int
inherited
complete(String sql) int
inherited
complete16(PtrVoid sql) int
inherited
context_db_handle(PtrContext arg1) PtrSqlite3
inherited
create_collation(PtrSqlite3 arg1, String zName, int eTextRep, PtrVoid pArg, PtrDefxCompare xCompare) int
inherited
create_collation16(PtrSqlite3 arg1, PtrVoid zName, int eTextRep, PtrVoid pArg, PtrDefxCompare xCompare) int
inherited
create_collation_v2(PtrSqlite3 arg1, String zName, int eTextRep, PtrVoid pArg, PtrDefxCompare xCompare, PtrDefxFree xDestroy) int
inherited
create_function(PtrSqlite3 db, String zFunctionName, int nArg, int eTextRep, PtrVoid pApp, PtrDefpxFunc xFunc, PtrDefpxFunc xStep, PtrDefxFinal xFinal) int
inherited
create_function16(PtrSqlite3 db, String zFunctionName, int nArg, int eTextRep, PtrVoid pApp, PtrDefpxFunc xFunc, PtrDefpxFunc xStep, PtrDefxFinal xFinal) int
inherited
create_function_v2(PtrSqlite3 db, String zFunctionName, int nArg, int eTextRep, PtrVoid pApp, PtrDefpxFunc xFunc, PtrDefpxFunc xStep, PtrDefxFinal xFinal, PtrDefxFree xDestroy) int
inherited
create_window_function(PtrSqlite3 db, String zFunctionName, int nArg, int eTextRep, PtrVoid pApp, PtrDefpxFunc xStep, PtrDefxFinal xFinal, PtrDefxFinal xValue, PtrDefpxFunc xInverse, PtrDefxFree xDestroy) int
inherited
data_count(PtrStmt pStmt) int
inherited
db_cacheflush(PtrSqlite3 arg1) int
inherited
db_config(PtrSqlite3 db, int op, List varg) int
inherited
db_filename(PtrSqlite3 db, String zDbName) String?
inherited
db_handle(PtrStmt arg1) PtrSqlite3
inherited
db_mutex(PtrSqlite3 arg1) PtrMutex?
inherited
db_readonly(PtrSqlite3 db, String zDbName) int
inherited
db_release_memory(PtrSqlite3 arg1) int
inherited
db_status(PtrSqlite3 arg1, int op, PtrInt32 pCur, PtrInt32 pHiwtr, int resetFlg) int
inherited
deserialize(PtrSqlite3 db, String zSchema, Pointer<Uint8> pData, int szDb, int szBuf, int arg1) int
inherited
enable_load_extension(PtrSqlite3 db, int onoff) int
inherited
enable_shared_cache(int arg1) int
inherited
errcode(PtrSqlite3 db) int
inherited
errmsg(PtrSqlite3 arg1) String
inherited
errmsg16(PtrSqlite3 arg1) PtrVoid
inherited
errstr(int arg1) String
inherited
exec(PtrSqlite3 arg1, String sql, PtrDefcallback callback, PtrVoid arg2, PtrPtrUtf8 errmsg) int
inherited
expanded_sql(PtrStmt pStmt) String?
inherited
extended_errcode(PtrSqlite3 db) int
inherited
extended_result_codes(PtrSqlite3 arg1, int onoff) int
inherited
file_control(PtrSqlite3 arg1, String? zDbName, int op, PtrVoid arg2) int
inherited
finalize(PtrStmt pStmt) int
inherited
free(Pointer<Void> arg) → void
free resource allocated by SQLite malloc.
inherited
free_table(PtrPtrUtf8 result) → void
inherited
get_autocommit(PtrSqlite3 arg1) int
inherited
get_table(PtrSqlite3 db, String zSql, PtrPtrPtrUtf8 pazResult, PtrInt32 pnRow, PtrInt32 pnColumn, PtrPtrUtf8 pzErrmsg) int
inherited
hard_heap_limit64(int N) int
inherited
initialize() int
inherited
interrupt(PtrSqlite3 arg1) → void
inherited
keyword_check(String arg1) int
inherited
keyword_count() int
inherited
keyword_name(int arg1, PtrPtrUtf8 arg2, PtrInt32 arg3) int
inherited
last_insert_rowid(PtrSqlite3 arg1) int
inherited
limit(PtrSqlite3 arg1, int id, int newVal) int
inherited
load_extension(PtrSqlite3 db, String zFile, String? zProc, PtrPtrUtf8 pzErrMsg) int
inherited
malloc(int arg1) PtrVoid?
inherited
malloc64(int arg1) PtrVoid?
inherited
memory_highwater(int resetFlag) int
inherited
memory_used() int
inherited
msize(PtrVoid arg1) int
inherited
next_stmt(PtrSqlite3 pDb, PtrStmt pStmt) PtrStmt?
inherited
normalized_sql(PtrStmt pStmt) String
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String filename, PtrPtrSqlite3 ppDb) int
inherited
open16(String filename, PtrPtrSqlite3 ppDb) int
inherited
open_v2(String filename, PtrPtrSqlite3 ppDb, int flags, String? zVfs) int
inherited
overload_function(PtrSqlite3 arg1, String zFuncName, int nArg) int
inherited
prepare(PtrSqlite3 db, String zSql, PtrPtrStmt ppStmt, PtrPtrUtf8 pzTail) int
inherited
prepare16(PtrSqlite3 db, String zSql, PtrPtrStmt ppStmt, PtrPtrVoid pzTail) int
inherited
prepare16_v2(PtrSqlite3 db, String zSql, PtrPtrStmt ppStmt, PtrPtrVoid pzTail) int
inherited
prepare16_v3(PtrSqlite3 db, String zSql, int prepFlags, PtrPtrStmt ppStmt, PtrPtrVoid pzTail) int
inherited
prepare_v2(PtrSqlite3 db, String zSql, PtrPtrStmt ppStmt, PtrPtrUtf8 pzTail) int
inherited
prepare_v3(PtrSqlite3 db, String zSql, int prepFlags, PtrPtrStmt ppStmt, PtrPtrUtf8 pzTail) int
inherited
preupdate_blobwrite(PtrSqlite3 arg1) int
inherited
preupdate_count(PtrSqlite3 arg1) int
inherited
preupdate_depth(PtrSqlite3 arg1) int
inherited
preupdate_hook(PtrSqlite3 db, PtrDefxPreUpdate xPreUpdate, PtrVoid arg1) PtrVoid
inherited
preupdate_new(PtrSqlite3 arg1, int arg2, PtrPtrValue arg3) int
inherited
preupdate_old(PtrSqlite3 arg1, int arg2, PtrPtrValue arg3) int
inherited
profile(PtrSqlite3 arg1, PtrDefxProfile xProfile, PtrVoid arg2) PtrVoid
inherited
progress_handler(PtrSqlite3 arg1, int arg2, PtrDefxSize ptrDefxSize, PtrVoid arg3) → void
inherited
randomness(int N, PtrVoid P) → void
inherited
realloc(PtrVoid arg1, int arg2) PtrVoid?
inherited
realloc64(PtrVoid arg1, int arg2) PtrVoid?
inherited
release_memory(int arg1) int
inherited
reset(PtrStmt pStmt) int
inherited
reset_auto_extension() → void
inherited
result_blob(PtrContext arg1, Uint8List arg2) → void
inherited
result_blob64(PtrContext arg1, Uint8List arg2) → void
inherited
result_double(PtrContext arg1, double arg2) → void
inherited
result_error(PtrContext arg1, String arg2) → void
inherited
result_error16(PtrContext arg1, String arg2) → void
inherited
result_error_code(PtrContext arg1, int arg2) → void
inherited
result_error_nomem(PtrContext arg1) → void
inherited
result_error_toobig(PtrContext arg1) → void
inherited
result_int(PtrContext arg1, int arg2) → void
inherited
result_int64(PtrContext arg1, int arg2) → void
inherited
result_null(PtrContext arg1) → void
inherited
result_subtype(PtrContext arg1, int arg2) → void
inherited
result_text(PtrContext arg1, String arg2) → void
inherited
result_text16(PtrContext arg1, String arg2) → void
inherited
result_text16be(PtrContext arg1, PtrVoid arg2, int arg3, PtrDefxFree ptrDefxFree) → void
inherited
result_text16le(PtrContext arg1, PtrVoid arg2, int arg3, PtrDefxFree ptrDefxFree) → void
inherited
result_text64(PtrContext arg1, String arg2, int encoding) → void
inherited
result_zeroblob(PtrContext arg1, int n) → void
inherited
result_zeroblob64(PtrContext arg1, int n) int
inherited
rollback_hook(PtrSqlite3 arg1, PtrDefxFree ptrDefxFree, PtrVoid arg2) PtrVoid?
inherited
serialize(PtrSqlite3 db, String zSchema, PtrInt64 piSize, int mFlags) Pointer<Uint8>?
inherited
set_authorizer(PtrSqlite3 arg1, PtrDefxAuth xAuth, PtrVoid pUserData) int
inherited
set_last_insert_rowid(PtrSqlite3 arg1, int arg2) → void
inherited
shutdown() int
inherited
sleep(int arg1) int
inherited
snapshot_cmp(PtrSnapshot p1, PtrSnapshot p2) int
inherited
snapshot_free(PtrSnapshot arg1) → void
inherited
snapshot_get(PtrSqlite3 db, String zSchema, PtrPtrSnapshot ppSnapshot) int
inherited
snapshot_open(PtrSqlite3 db, String zSchema, PtrSnapshot pSnapshot) int
inherited
snapshot_recover(PtrSqlite3 db, String zDb) int
inherited
soft_heap_limit64(int N) int
inherited
sql(PtrStmt pStmt) String
inherited
status(int op, PtrInt32 pCurrent, PtrInt32 pHighwater, int resetFlag) int
inherited
status64(int op, PtrInt64 pCurrent, PtrInt64 pHighwater, int resetFlag) int
inherited
step(PtrStmt arg1) int
inherited
stmt_busy(PtrStmt arg1) int
inherited
stmt_isexplain(PtrStmt pStmt) int
inherited
stmt_readonly(PtrStmt pStmt) int
inherited
stmt_scanstatus(PtrStmt pStmt, int idx, int iScanStatusOp, PtrVoid pOut) int
inherited
stmt_scanstatus_reset(PtrStmt arg1) → void
inherited
stmt_status(PtrStmt arg1, int op, int resetFlg) int
inherited
strglob(String zGlob, String zStr) int
inherited
stricmp(String arg1, String arg2) int
inherited
strlike(String zGlob, String zStr, int cEsc) int
inherited
strnicmp(String arg1, String arg2, int arg3) int
inherited
system_errno(PtrSqlite3 arg1) int
inherited
table_column_metadata(PtrSqlite3 db, String? zDbName, String zTableName, String? zColumnName, PtrPtrUtf8 pzDataType, PtrPtrUtf8 pzCollSeq, PtrInt32 pNotNull, PtrInt32 pPrimaryKey, PtrInt32 pAutoinc) int
inherited
threadsafe() int
inherited
toString() String
A string representation of this object.
inherited
total_changes(PtrSqlite3 arg1) int
inherited
trace(PtrSqlite3 arg1, PtrDefxTrace xTrace, PtrVoid arg2) PtrVoid
inherited
trace_v2(PtrSqlite3 arg1, int arg2, PtrDefxCallback xCallback, PtrVoid pCtx) int
inherited
txn_state(PtrSqlite3 arg1, String? zSchema) int
inherited
unlock_notify(PtrSqlite3 pBlocked, PtrDefxNotify xNotify, PtrVoid pNotifyArg) int
inherited
update_hook(PtrSqlite3 arg1, PtrDefDefTypeGen10 ptrDefDefTypeGen10, PtrVoid arg2) PtrVoid?
inherited
user_data(PtrContext arg1) PtrVoid?
inherited
value_blob(PtrValue arg1) Uint8List?
inherited
value_bytes(PtrValue arg1) int
inherited
value_bytes16(PtrValue arg1) int
inherited
value_double(PtrValue arg1) double
inherited
value_dup(PtrValue arg1) PtrValue?
inherited
value_free(PtrValue arg1) → void
inherited
value_frombind(PtrValue arg1) int
inherited
value_int(PtrValue arg1) int
inherited
value_int64(PtrValue arg1) int
inherited
value_nochange(PtrValue arg1) int
inherited
value_numeric_type(PtrValue arg1) int
inherited
value_subtype(PtrValue arg1) int
inherited
value_text(PtrValue arg1) String?
inherited
value_text16(PtrValue arg1) String?
inherited
value_text16be(PtrValue arg1) PtrVoid?
inherited
value_text16le(PtrValue arg1) PtrVoid?
inherited
value_type(PtrValue arg1) int
inherited
vfs_find(String? zVfsName) PtrVfs?
inherited
vfs_register(PtrVfs arg1, int makeDflt) int
inherited
vfs_unregister(PtrVfs arg1) int
inherited
wal_autocheckpoint(PtrSqlite3 db, int N) int
inherited
wal_checkpoint(PtrSqlite3 db, String zDb) int
inherited
wal_checkpoint_v2(PtrSqlite3 db, String? zDb, int eMode, PtrInt32 pnLog, PtrInt32 pnCkpt) int
inherited
wal_hook(PtrSqlite3 arg1, PtrDefDefTypeGen11 ptrDefDefTypeGen11, PtrVoid arg2) PtrVoid
inherited
win32_set_directory(int arg1, PtrVoid zValue) int
inherited
win32_set_directory16(int arg1, String? zValue) int
inherited
win32_set_directory8(int arg1, String? zValue) int
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

instance({String? path, String? mountDir}) Future<SQLiteLibrary>