SQLiteLibrary class

Cross platform interface for native and web.

Available extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
libVersion String
Return the current version of current sqlite3 library in String
no setter
libVersionNumber int
Return the current version of current sqlite3 library in number
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceId String
Return the hash source id of current sqlite3 library.
no setter

Methods

aggregate_context(PtrContext arg1, int nBytes) PtrVoid?
Cross platform interface api for sqlite3_aggregate_context
bind_blob(PtrStmt arg1, int arg2, Uint8List? arg3) int
Cross platform interface api for sqlite3_bind_blob
bind_double(PtrStmt arg1, int arg2, double arg3) int
Cross platform interface api for sqlite3_bind_double
bind_int(PtrStmt arg1, int arg2, int arg3) int
Cross platform interface api for sqlite3_bind_int
bind_int64(PtrStmt arg1, int arg2, int arg3) int
Cross platform interface api for sqlite3_bind_int64
bind_null(PtrStmt arg1, int arg2) int
Cross platform interface api for sqlite3_bind_null
bind_parameter_count(PtrStmt arg1) int
Cross platform interface api for sqlite3_bind_parameter_count
bind_parameter_index(PtrStmt arg1, String zName) int
Cross platform interface api for sqlite3_bind_parameter_index
bind_parameter_name(PtrStmt arg1, int arg2) String?
Cross platform interface api for sqlite3_bind_parameter_name
bind_text(PtrStmt arg1, int arg2, String? arg3) int
Cross platform interface api for sqlite3_bind_text
bind_text16(PtrStmt arg1, int arg2, String? arg3) int
Cross platform interface api for sqlite3_bind_text16
changes(PtrSqlite3 arg1) int
Cross platform interface api for sqlite3_changes
clear_bindings(PtrStmt arg1) int
Cross platform interface api for sqlite3_clear_bindings
close(PtrSqlite3 arg1) Future<int>
Cross platform interface api for sqlite3_close
close_v2(PtrSqlite3 arg1) Future<int>
Cross platform interface api for sqlite3_close_v2
column_blob(PtrStmt arg1, int iCol) Uint8List?
Cross platform interface api for sqlite3_column_blob
column_bytes(PtrStmt arg1, int iCol) int
Cross platform interface api for sqlite3_column_bytes
column_bytes16(PtrStmt arg1, int iCol) int
Cross platform interface api for sqlite3_column_bytes16
column_count(PtrStmt pStmt) int
Cross platform interface api for sqlite3_column_count
column_database_name(PtrStmt arg1, int arg2) String?
Cross platform interface api for sqlite3_column_database_name
column_database_name16(PtrStmt arg1, int arg2) String?
Cross platform interface api for sqlite3_column_database_name16
column_decltype(PtrStmt arg1, int arg2) String?
Cross platform interface api for sqlite3_column_decltype
column_decltype16(PtrStmt arg1, int arg2) String?
Cross platform interface api for sqlite3_column_decltype16
column_double(PtrStmt arg1, int iCol) double
Cross platform interface api for sqlite3_column_double
column_int(PtrStmt arg1, int iCol) int
Cross platform interface api for sqlite3_column_int
column_int64(PtrStmt arg1, int iCol) int
Cross platform interface api for sqlite3_column_int64
column_name(PtrStmt arg1, int N) String?
Cross platform interface api for sqlite3_column_name
column_name16(PtrStmt arg1, int N) String?
Cross platform interface api for sqlite3_column_name16
column_origin_name(PtrStmt arg1, int arg2) String?
Cross platform interface api for sqlite3_column_origin_name
column_origin_name16(PtrStmt arg1, int arg2) String?
Cross platform interface api for sqlite3_column_origin_name16
column_table_name(PtrStmt arg1, int arg2) String?
Cross platform interface api for sqlite3_column_table_name
column_table_name16(PtrStmt arg1, int arg2) String?
Cross platform interface api for sqlite3_column_table_name16
column_text(PtrStmt arg1, int iCol) String?
Cross platform interface api for sqlite3_column_text
column_text16(PtrStmt arg1, int iCol) String?
Cross platform interface api for sqlite3_column_text16
column_type(PtrStmt arg1, int iCol) int
Cross platform interface api for sqlite3_column_type
commit_hook(PtrSqlite3 arg1, PtrDefxSize ptrDefxSize, PtrVoid arg2) PtrVoid?
Cross platform interface api for sqlite3_commit_hook
create_collation(PtrSqlite3 arg1, String zName, int eTextRep, PtrVoid pArg, PtrDefxCompare xCompare) int
Cross platform interface api for sqlite3_create_collation
create_collation_v2(PtrSqlite3 arg1, String zName, int eTextRep, PtrVoid pArg, PtrDefxCompare xCompare, PtrDefxFree xDestroy) int
Cross platform interface api for sqlite3_create_collation_v2
create_function(PtrSqlite3 db, String zFunctionName, int nArg, int eTextRep, PtrVoid pApp, PtrDefpxFunc xFunc, PtrDefpxFunc xStep, PtrDefxFinal xFinal) int
Cross platform interface api for sqlite3_create_function
create_function16(PtrSqlite3 db, String zFunctionName, int nArg, int eTextRep, PtrVoid pApp, PtrDefpxFunc xFunc, PtrDefpxFunc xStep, PtrDefxFinal xFinal) int
Cross platform interface api for sqlite3_create_function16
create_function_v2(PtrSqlite3 db, String zFunctionName, int nArg, int eTextRep, PtrVoid pApp, PtrDefpxFunc xFunc, PtrDefpxFunc xStep, PtrDefxFinal xFinal, PtrDefxFree xDestroy) int
Cross platform interface api for sqlite3_create_function_v2
data_count(PtrStmt pStmt) int
Cross platform interface api for sqlite3_data_count
errcode(PtrSqlite3 db) int
Cross platform interface api for sqlite3_errcode
errmsg(PtrSqlite3 arg1) String
Cross platform interface api for sqlite3_errmsg
errmsg16(PtrSqlite3 arg1) PtrVoid
Cross platform interface api for sqlite3_errmsg16
errstr(int arg1) String
Cross platform interface api for sqlite3_errstr
exec(PtrSqlite3 arg1, String sql, PtrDefcallback callback, PtrVoid arg2, PtrPtrUtf8 errmsg) int
Cross platform interface api for sqlite3_exec
extended_errcode(PtrSqlite3 db) int
Cross platform interface api for sqlite3_extended_errcode
extended_result_codes(PtrSqlite3 arg1, int onoff) int
Cross platform interface api for sqlite3_extended_result_codes
finalize(PtrStmt pStmt) int
Cross platform interface api for sqlite3_finalize
last_insert_rowid(PtrSqlite3 arg1) int
Cross platform interface api for sqlite3_last_insert_rowid
limit(PtrSqlite3 arg1, int id, int newVal) int
Cross platform interface api for sqlite3_limit
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open(String filename, PtrPtrSqlite3 ppDb) int
Cross platform interface api for sqlite3_open
open16(String filename, PtrPtrSqlite3 ppDb) int
Cross platform interface api for sqlite3_open16
open_v2(String filename, PtrPtrSqlite3 ppDb, int flags, String? zVfs) int
Cross platform interface api for sqlite3_open_v2
prepare(PtrSqlite3 db, String zSql, PtrPtrStmt ppStmt, PtrPtrUtf8 pzTail) int
Cross platform interface api for sqlite3_prepare
prepare16(PtrSqlite3 db, String zSql, PtrPtrStmt ppStmt, PtrPtrVoid pzTail) int
Cross platform interface api for sqlite3_prepare16
prepare16_v2(PtrSqlite3 db, String zSql, PtrPtrStmt ppStmt, PtrPtrVoid pzTail) int
Cross platform interface api for sqlite3_prepare16_v2
prepare16_v3(PtrSqlite3 db, String zSql, int prepFlags, PtrPtrStmt ppStmt, PtrPtrVoid pzTail) int
Cross platform interface api for sqlite3_prepare16_v3
prepare_v2(PtrSqlite3 db, String zSql, PtrPtrStmt ppStmt, PtrPtrUtf8 pzTail) int
Cross platform interface api for sqlite3_prepare_v2
prepare_v3(PtrSqlite3 db, String zSql, int prepFlags, PtrPtrStmt ppStmt, PtrPtrUtf8 pzTail) int
Cross platform interface api for sqlite3_prepare_v3
reset(PtrStmt pStmt) int
Cross platform interface api for sqlite3_reset
result_blob(PtrContext arg1, Uint8List arg2) → void
Cross platform interface api for sqlite3_result_blob
result_double(PtrContext arg1, double arg2) → void
Cross platform interface api for sqlite3_result_double
result_error(PtrContext arg1, String arg2) → void
Cross platform interface api for sqlite3_result_error
result_error16(PtrContext arg1, String arg2) → void
Cross platform interface api for sqlite3_result_error16
result_error_code(PtrContext arg1, int arg2) → void
Cross platform interface api for sqlite3_result_error_code
result_error_nomem(PtrContext arg1) → void
Cross platform interface api for sqlite3_result_error_nomem
result_error_toobig(PtrContext arg1) → void
Cross platform interface api for sqlite3_result_error_toobig
result_int(PtrContext arg1, int arg2) → void
Cross platform interface api for sqlite3_result_int
result_int64(PtrContext arg1, int arg2) → void
Cross platform interface api for sqlite3_result_int64
result_null(PtrContext arg1) → void
Cross platform interface api for sqlite3_result_null
result_text(PtrContext arg1, String arg2) → void
Cross platform interface api for sqlite3_result_text
result_text16(PtrContext arg1, String arg2) → void
Cross platform interface api for sqlite3_result_text16
rollback_hook(PtrSqlite3 arg1, PtrDefxFree ptrDefxFree, PtrVoid arg2) PtrVoid?
Cross platform interface api for sqlite3_rollback_hook
step(PtrStmt arg1) int
Cross platform interface api for sqlite3_step
table_column_metadata(PtrSqlite3 db, String? zDbName, String zTableName, String? zColumnName, PtrPtrUtf8 pzDataType, PtrPtrUtf8 pzCollSeq, PtrInt32 pNotNull, PtrInt32 pPrimaryKey, PtrInt32 pAutoinc) int
Cross platform interface api for sqlite3_table_column_metadata
toString() String
A string representation of this object.
inherited
total_changes(PtrSqlite3 arg1) int
Cross platform interface api for sqlite3_total_changes
update_hook(PtrSqlite3 arg1, PtrDefDefTypeGen10 ptrDefDefTypeGen10, PtrVoid arg2) PtrVoid?
Cross platform interface api for sqlite3_update_hook
user_data(PtrContext arg1) PtrVoid?
Cross platform interface api for sqlite3_user_data
value_blob(PtrValue arg1) Uint8List?
Cross platform interface api for sqlite3_value_blob
value_bytes(PtrValue arg1) int
Cross platform interface api for sqlite3_value_bytes
value_bytes16(PtrValue arg1) int
Cross platform interface api for sqlite3_value_bytes16
value_double(PtrValue arg1) double
Cross platform interface api for sqlite3_value_double
value_frombind(PtrValue arg1) int
Cross platform interface api for sqlite3_value_frombind
value_int(PtrValue arg1) int
Cross platform interface api for sqlite3_value_int
value_int64(PtrValue arg1) int
Cross platform interface api for sqlite3_value_int64
value_numeric_type(PtrValue arg1) int
Cross platform interface api for sqlite3_value_numeric_type
value_text(PtrValue arg1) String?
Cross platform interface api for sqlite3_value_text
value_text16(PtrValue arg1) String?
Cross platform interface api for sqlite3_value_text16
value_type(PtrValue arg1) int
Cross platform interface api for sqlite3_value_type

Operators

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

Static Methods

instance({String? path, String? mountDir}) Future<SQLiteLibrary>
The mountDir argument is only viable and required when running on web.