SQLite3
Description
- Derived from
-
NativeLibrary abstract
| Full source code is included in the Tinman 3D SDK download. |
A partial wrapper around the C-language Interface Specification for SQLite.
https://sqlite.org/c3ref/intro.html
The extension methods prefixed with Api* are convenience helpers that delegate to the plain SQLite functions while doing error handling. The DatasetFile, PreparedStatement and StatementCollection classes provide a simple high-level API on top of the plain SQLite functions.
Public / Constants
CONSTRAINT_COMMITHOOK
SQLITE_CONSTRAINT_COMMITHOOK
https://sqlite.org/rescode.html#constraint_commithook
CONSTRAINT_FOREIGNKEY
SQLITE_CONSTRAINT_FOREIGNKEY
https://sqlite.org/rescode.html#constraint_foreignkey
CONSTRAINT_PRIMARYKEY
SQLITE_CONSTRAINT_PRIMARYKEY
https://sqlite.org/rescode.html#constraint_primarykey
DBSTATUS_CACHE_USED_SHARED
SQLITE_DBSTATUS_CACHE_USED_SHARED
https://sqlite.org/c3ref/c_dbstatus_options.html
DBSTATUS_DEFERRED_FKS
SQLITE_DBSTATUS_DEFERRED_FKS
https://sqlite.org/c3ref/c_dbstatus_options.html
DBSTATUS_LOOKASIDE_HIT
SQLITE_DBSTATUS_LOOKASIDE_HIT
https://sqlite.org/c3ref/c_dbstatus_options.html
DBSTATUS_LOOKASIDE_MISS_FULL
SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL
https://sqlite.org/c3ref/c_dbstatus_options.html
DBSTATUS_LOOKASIDE_MISS_SIZE
SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE
https://sqlite.org/c3ref/c_dbstatus_options.html
DBSTATUS_LOOKASIDE_USED
SQLITE_DBSTATUS_LOOKASIDE_USED
https://sqlite.org/c3ref/c_dbstatus_options.html
ERROR_MISSING_COLLSEQ
SQLITE_ERROR_MISSING_COLLSEQ
https://sqlite.org/rescode.html#error_missing_collseq
IOERR_CHECKRESERVEDLOCK
SQLITE_IOERR_CHECKRESERVEDLOCK
https://sqlite.org/rescode.html#ioerr_checkreservedlock
IOERR_COMMIT_ATOMIC
SQLITE_IOERR_COMMIT_ATOMIC
https://sqlite.org/rescode.html#ioerr_commit_atomic
IOERR_ROLLBACK_ATOMIC
SQLITE_IOERR_ROLLBACK_ATOMIC
https://sqlite.org/rescode.html#ioerr_rollback_atomic
LIMIT_LIKE_PATTERN_LENGTH
SQLITE_LIMIT_LIKE_PATTERN_LENGTH
https://sqlite.org/c3ref/c_limit_attached.html
NOTICE_RECOVER_ROLLBACK
SQLITE_NOTICE_RECOVER_ROLLBACK
https://sqlite.org/rescode.html#notice_recover_rollback
OK_LOAD_PERMANENTLY
SQLITE_OK_LOAD_PERMANENTLY
https://sqlite.org/rescode.html#ok_load_permanently
STATUS_MALLOC_COUNT
SQLITE_STATUS_MALLOC_COUNT
https://sqlite.org/c3ref/c_status_malloc_count.html
STATUS_PAGECACHE_OVERFLOW
SQLITE_STATUS_PAGECACHE_OVERFLOW
https://sqlite.org/c3ref/c_status_malloc_count.html
STATUS_PAGECACHE_SIZE
SQLITE_STATUS_PAGECACHE_SIZE
https://sqlite.org/c3ref/c_status_malloc_count.html
STATUS_PAGECACHE_USED
SQLITE_STATUS_PAGECACHE_USED
https://sqlite.org/c3ref/c_status_malloc_count.html
STATUS_PARSER_STACK
SQLITE_STATUS_PARSER_STACK
https://sqlite.org/c3ref/c_status_malloc_count.html
STMTSTATUS_AUTOINDEX
SQLITE_STMTSTATUS_AUTOINDEX
https://sqlite.org/c3ref/c_stmtstatus_counter.html
STMTSTATUS_FILTER_HIT
SQLITE_STMTSTATUS_FILTER_HIT
https://sqlite.org/c3ref/c_stmtstatus_counter.html
STMTSTATUS_FILTER_MISS
SQLITE_STMTSTATUS_FILTER_MISS
https://sqlite.org/c3ref/c_stmtstatus_counter.html
STMTSTATUS_FULLSCAN_STEP
SQLITE_STMTSTATUS_FULLSCAN_STEP
https://sqlite.org/c3ref/c_stmtstatus_counter.html
STMTSTATUS_REPREPARE
SQLITE_STMTSTATUS_REPREPARE
https://sqlite.org/c3ref/c_stmtstatus_counter.html
Public / Methods
BindParameterCount
sqlite3_bind_parameter_count
https://sqlite.org/c3ref/bind_parameter_count.html
BindParameterIndex
sqlite3_bind_parameter_index
https://sqlite.org/c3ref/bind_parameter_index.html
ColumnDatabaseName
sqlite3_column_database_name
https://sqlite.org/c3ref/column_database_name.html
ExtendedResultCodes
sqlite3_extended_result_codes
https://sqlite.org/c3ref/extended_result_codes.html
SetLastInsertRowid
sqlite3_set_last_insert_rowid
https://sqlite.org/c3ref/set_last_insert_rowid.html
Extensions
ApiErrorThrow
2 overloads
Wraps the current database error message in an exception.
- See also
Wraps the current database error message in an exception.
- See also
ApiExecuteStatement
2 overloads
Executes the given prepared statement in.
This method is a shortcut to SQLite3.PrepareV3, SQLite3.Step and SQLite3.Finalize.
- IOException
-
If an I/O error has occurred.
Executes the given sql in statement.
This method is a shortcut to SQLite3.PrepareV3, SQLite3.Step and SQLite3.Finalize.
- IOException
-
If an I/O error has occurred.
ApiPrepareStatement
Prepares the given sql in statement.
This method is a shortcut to SQLite3.PrepareV3.
- IOException
-
If an I/O error has occurred.