etc.c.sqlite3
Types 48
CAPI3REF: Database Connection Handle
The type for a callback function. This is legacy and deprecated. It is included for historical compatibility and is not documented.
CAPI3REF: Flags For File Open Operations VFS only
CAPI3REF: OS Interface Open File Handle
const(sqlite3_io_methods) *pMethods pMethodsCAPI3REF: OS Interface File Virtual Methods Object
int iVersionint function (sqlite3_file *) xCloseint function (sqlite3_file *, void *, int iAmt, sqlite3_int64 iOfst) xReadint function (sqlite3_file *, const void *, int iAmt, sqlite3_int64 iOfst) xWriteint function (sqlite3_file *, sqlite3_int64 size) xTruncateint function (sqlite3_file *, int flags) xSyncint function (sqlite3_file *, sqlite3_int64 * pSize) xFileSizeint function (sqlite3_file *, int) xLockint function (sqlite3_file *, int) xUnlockint function (sqlite3_file *, int * pResOut) xCheckReservedLockint function (sqlite3_file *, int op, void * pArg) xFileControlint function (sqlite3_file *) xSectorSizeint function (sqlite3_file *) xDeviceCharacteristicsint function (sqlite3_file *, int iPg, int pgsz, int, void * *) xShmMapint function (sqlite3_file *, int offset, int n, int flags) xShmLockvoid function (sqlite3_file *) xShmBarrierint function (sqlite3_file *, int deleteFlag) xShmUnmapint function (sqlite3_file *, sqlite3_int64 iOfst, int iAmt, void * * pp) xFetchint function (sqlite3_file *, sqlite3_int64 iOfst, void * p) xUnfetchCAPI3REF: Standard File Control Opcodes
CAPI3REF: Mutex Handle
CAPI3REF: Loadable Extension Thunk
CAPI3REF: OS Interface Object
Ditto
int iVersionint szOsFileint mxPathnamesqlite3_vfs *pNext pNextconst(char) *zName zNamevoid *pAppData pAppDataint function (sqlite3_vfs *, const char * zName, sqlite3_file *,
int flags, int * pOutFlags) xOpenint function (sqlite3_vfs *, const char * zName, int syncDir) xDeleteint function (sqlite3_vfs *, const char * zName, int flags, int * pResOut) xAccessint function (sqlite3_vfs *, const char * zName, int nOut, char * zOut) xFullPathnamevoid * function (sqlite3_vfs *, const char * zFilename) xDlOpenvoid function (sqlite3_vfs *, int nByte, char * zErrMsg) xDlErrorxDlSymReturn function (sqlite3_vfs *, void *, const char * zSymbol) *xDlSym xDlSymvoid function (sqlite3_vfs *, void *) xDlCloseint function (sqlite3_vfs *, int nByte, char * zOut) xRandomnessint function (sqlite3_vfs *, int microseconds) xSleepint function (sqlite3_vfs *, double *) xCurrentTimeint function (sqlite3_vfs *, int, char *) xGetLastErrorint function (sqlite3_vfs *, sqlite3_int64 *) xCurrentTimeInt64int function(sqlite3_vfs *, const char * zName, sqlite3_syscall_ptr) xSetSystemCallsqlite3_syscall_ptr function(sqlite3_vfs *, const char * zName) xGetSystemCallconst(char) * function(sqlite3_vfs *, const char * zName) xNextSystemCallCAPI3REF: Memory Allocation Routines
void * function (int) xMallocvoid function (void *) xFreevoid * function (void *, int) xReallocint function (void *) xSizeint function (int) xRoundupint function (void *) xInitvoid function (void *) xShutdownvoid *pAppData pAppDataCAPI3REF: SQL Statement Object
CAPI3REF: Dynamically Typed Value Object
CAPI3REF: SQL Function Context Object
CAPI3REF: Constants Defining Special Destructor Behavior
The interface to the virtual-table mechanism is currently considered to be experimental. The interface might change in incompatible ways. If this is a problem for you, do not use the interface at this time.
When the virtual-table mechanism stabilizes, we will declare the interface fixed, support it indefinitely, and remove this comment. CAPI3REF: Virtual Table Object
Ditto
int iVersionint function (sqlite3 *, void * pAux,
int argc, const char * * argv,
sqlite3_vtab * * ppVTab, char * *) xCreateint function (sqlite3 *, void * pAux,
int argc, const char * * argv,
sqlite3_vtab * * ppVTab, char * *) xConnectint function (sqlite3_vtab * pVTab, sqlite3_index_info *) xBestIndexint function (sqlite3_vtab * pVTab) xDisconnectint function (sqlite3_vtab * pVTab) xDestroyint function (sqlite3_vtab * pVTab, sqlite3_vtab_cursor * * ppCursor) xOpenint function (sqlite3_vtab_cursor *) xCloseint function (sqlite3_vtab_cursor *, int idxNum, const char * idxStr,
int argc, sqlite3_value * * argv) xFilterint function (sqlite3_vtab_cursor *) xNextint function (sqlite3_vtab_cursor *) xEofint function (sqlite3_vtab_cursor *, sqlite3_context *, int) xColumnint function (sqlite3_vtab_cursor *, sqlite3_int64 * pRowid) xRowidint function (sqlite3_vtab *, int, sqlite3_value * *, sqlite3_int64 *) xUpdateint function (sqlite3_vtab * pVTab) xBeginint function (sqlite3_vtab * pVTab) xSyncint function (sqlite3_vtab * pVTab) xCommitint function (sqlite3_vtab * pVTab) xRollbackint function (sqlite3_vtab * pVtab, int nArg, const char * zName,
mapFunction *,
void * * ppArg) xFindFunctionint function (sqlite3_vtab * pVtab, const char * zNew) xRenameint function (sqlite3_vtab * pVTab, int) xSavepointint function (sqlite3_vtab * pVTab, int) xReleaseint function (sqlite3_vtab * pVTab, int) xRollbackToint function (const char *) xShadowNameCAPI3REF: Virtual Table Indexing Information
int nConstraintsqlite3_index_constraint * aConstraintint nOrderBysqlite3_index_orderby *aOrderBy aOrderBysqlite3_index_constraint_usage *aConstraintUsage aConstraintUsageint idxNumchar *idxStr idxStrint needToFreeIdxStrint orderByConsumeddouble estimatedCostsqlite3_int64 estimatedRowsint idxFlagssqlite3_uint64 colUsedsqlite3_index_constraintsqlite3_index_orderbysqlite3_index_constraint_usageCAPI3REF: Virtual Table Instance Object
const(sqlite3_module) *pModule pModuleint nRefchar *zErrMsg zErrMsgCAPI3REF: Virtual Table Cursor Object
sqlite3_vtab *pVtab pVtabThe interface to the virtual-table mechanism defined above (back up to a comment remarkably similar to this one) is currently considered to be experimental. The interface might change in incompatible ways. If this is a problem for you, do not use the interface at this time.
When the virtual-table mechanism stabilizes, we will declare the interface fixed, support it indefinitely, and remove this comment.
CAPI3REF: Mutex Methods Object
int function () xMutexInitint function () xMutexEndsqlite3_mutex * function (int) xMutexAllocvoid function (sqlite3_mutex *) xMutexFreevoid function (sqlite3_mutex *) xMutexEnterint function (sqlite3_mutex *) xMutexTryvoid function (sqlite3_mutex *) xMutexLeaveint function (sqlite3_mutex *) xMutexHeldint function (sqlite3_mutex *) xMutexNotheldCAPI3REF: Mutex Types
CAPI3REF: Dynamic String Object
CAPI3REF: Custom Page Cache Object
CAPI3REF: Custom Page Cache Object
void *pBuf pBufvoid *pExtra pExtraCAPI3REF: Application Defined Page Cache.
int iVersionvoid *pArg pArgint function(void *) xInitvoid function(void *) xShutdownsqlite3_pcache * function(int szPage, int szExtra, int bPurgeable) xCreatevoid function(sqlite3_pcache *, int nCachesize) xCachesizeint function(sqlite3_pcache *) xPagecountsqlite3_pcache_page * function(sqlite3_pcache *, uint key, int createFlag) xFetchvoid function(sqlite3_pcache *, sqlite3_pcache_page *, int discard) xUnpinvoid function(sqlite3_pcache *, sqlite3_pcache_page *,
uint oldKey, uint newKey) xRekeyvoid function(sqlite3_pcache *, uint iLimit) xTruncatevoid function(sqlite3_pcache *) xDestroyvoid function(sqlite3_pcache *) xShrinkvoid *pArg pArgint function (void *) xInitvoid function (void *) xShutdownsqlite3_pcache * function (int szPage, int bPurgeable) xCreatevoid function (sqlite3_pcache *, int nCachesize) xCachesizeint function (sqlite3_pcache *) xPagecountvoid * function (sqlite3_pcache *, uint key, int createFlag) xFetchvoid function (sqlite3_pcache *, void *, int discard) xUnpinvoid function (sqlite3_pcache *, void *, uint oldKey, uint newKey) xRekeyvoid function (sqlite3_pcache *, uint iLimit) xTruncatevoid function (sqlite3_pcache *) xDestroyCAPI3REF: Online Backup Object
ubyte[48] hiddenA pointer to a structure of the following type is passed as the first argument to callbacks registered using rtree_geometry_callback().
void *pContext pContextint nParamdouble *aParam aParamvoid *pUser pUservoid function (void *) xDelUservoid *pContext pContextint nParamdouble *aParam aParamvoid *pUser pUservoid function(void *) xDelUserdouble *aCoord aCoorduint *anQueue anQueueint nCoordint iLevelint mxLevelsqlite3_int64 iRowiddouble rParentScoreint eParentWithinint eWithindouble rScoresqlite3_value * *apSqlParam apSqlParamInterfaces to extend FTS5.
Ditto
Ditto
const(ubyte) *a aconst(ubyte) *b bDitto
int iVersionvoid * function(Fts5Context *) xUserDataint function(Fts5Context *) xColumnCountint function(Fts5Context *, sqlite3_int64 * pnRow) xRowCountint function(Fts5Context *, int iCol, sqlite3_int64 * pnToken) xColumnTotalSizeint function(Fts5Context *,
const char * pText, int nText,
void * pCtx,
int function(void *, int, const char *, int, int, int) xToken
) xTokenizeint function(Fts5Context *) xPhraseCountint function(Fts5Context *, int iPhrase) xPhraseSizeint function(Fts5Context *, int * pnInst) xInstCountint function(Fts5Context *, int iIdx, int * piPhrase, int * piCol, int * piOff) xInstsqlite3_int64 function(Fts5Context *) xRowidint function(Fts5Context *, int iCol, const char * * pz, int * pn) xColumnTextint function(Fts5Context *, int iCol, int * pnToken) xColumnSizeint function(Fts5Context *, int iPhrase, void * pUserData,
int function(const Fts5ExtensionApi *, Fts5Context *, void *)
) xQueryPhraseint function(Fts5Context *, void * pAux, void function(void *) xDelete) xSetAuxdatavoid * function(Fts5Context *, int bClear) xGetAuxdataint function(Fts5Context *, int iPhrase, Fts5PhraseIter *, int *, int *) xPhraseFirstvoid function(Fts5Context *, Fts5PhraseIter *, int * piCol, int * piOff) xPhraseNextint function(Fts5Context *, int iPhrase, Fts5PhraseIter *, int *) xPhraseFirstColumnvoid function(Fts5Context *, Fts5PhraseIter *, int * piCol) xPhraseNextColumnDitto
int function(void *, const char * * azArg, int nArg, Fts5Tokenizer * * ppOut) xCreatevoid function(Fts5Tokenizer *) xDeleteint function(Fts5Tokenizer *,
void * pCtx,
int flags,
const char * pText, int nText,
int function(
void * pCtx,
int tflags,
const char * pToken,
int nToken,
int iStart,
int iEnd
) xToken
) xTokenizeDitto
int iVersionint function(
fts5_api * pApi,
const char * zName,
void * pContext,
fts5_tokenizer * pTokenizer,
void function(void *) xDestroy
) xCreateTokenizerint function(
fts5_api * pApi,
const char * zName,
void * * ppContext,
fts5_tokenizer * pTokenizer
) xFindTokenizerint function(
fts5_api * pApi,
const char * zName,
void * pContext,
fts5_extension_function xFunction,
void function(void *) xDestroy
) xCreateFunctionFunctions 321
int sqlite3_compileoption_used(const char * zOptName)CAPI3REF: Run-Time Library Compilation Options Diagnosticsint sqlite3_close_v2(sqlite3 *)int sqlite3_exec(
sqlite3 *, /** An open database */
const(char) * sql, /** SQL to be evaluated */
int function (void *, int, char * *, char * *) callback, /** Callback function */
void *, /** 1st argument to callback */
char * * errmsg /** Error msg written here */
)CAPI3REF: One-Step Query Execution Interfaceint sqlite3_extended_result_codes(sqlite3 *, int onoff)CAPI3REF: Enable Or Disable Extended Result Codesvoid sqlite3_set_last_insert_rowid(sqlite3 *, sqlite3_int64)CAPI3REF: Set the Last Insert Rowid valueint sqlite3_busy_handler(sqlite3 *, int function (void *, int), void *)CAPI3REF: Register A Callback To Handle SQLITE_BUSY Errorsint sqlite3_get_table(
sqlite3 * db, /** An open database */
const(char) * zSql, /** SQL to be evaluated */
char * * * pazResult, /** Results of the query */
int * pnRow, /** Number of result rows written here */
int * pnColumn, /** Number of result columns written here */
char * * pzErrmsg /** Error msg written here */
)CAPI3REF: Convenience Routines For Running Queriesvoid sqlite3_free_table(char * * result)char *sqlite3_mprintf sqlite3_mprintf(const char *,...)CAPI3REF: Formatted String Printing Functionschar *sqlite3_vmprintf sqlite3_vmprintf(const char *, va_list)char *sqlite3_snprintf sqlite3_snprintf(int, char *, const char *, ...)char *sqlite3_vsnprintf sqlite3_vsnprintf(int, char *, const char *, va_list)sqlite3_int64 sqlite3_memory_highwater(int resetFlag)int sqlite3_set_authorizer(
sqlite3 *,
int function (void *, int, const char *, const char *, const char *, const char *) xAuth,
void * pUserData
)CAPI3REF: Compile-Time Authorization Callbacksvoid *sqlite3_trace sqlite3_trace(sqlite3 *, void function (void *, const char *) xTrace, void *)void *sqlite3_profile sqlite3_profile(sqlite3 *, void function (void *, const char *, sqlite3_uint64) xProfile, void *)int sqlite3_trace_v2(
sqlite3 *,
uint uMask,
int function (uint, void *, void *, void *) xCallback,
void * pCtx
)CAPI3REF: SQL Trace Hookvoid sqlite3_progress_handler(sqlite3 *, int, int function (void *), void *)CAPI3REF: Query Progress Callbacksint sqlite3_open(
const(char) * filename, /** Database filename (UTF-8) */
sqlite3 * * ppDb /** OUT: SQLite db handle */
)CAPI3REF: Opening A New Database Connectionint sqlite3_open16(
const(void) * filename, /** Database filename (UTF-16) */
sqlite3 * * ppDb /** OUT: SQLite db handle */
)Dittoint sqlite3_open_v2(
const(char) * filename, /** Database filename (UTF-8) */
sqlite3 * * ppDb, /** OUT: SQLite db handle */
int flags, /** Flags */
const(char) * zVfs /** Name of VFS module to use */
)Dittoconst(char) * sqlite3_uri_parameter(const(char) * zFilename, const(char) * zParam)const(char) * sqlite3_filename_database(const(char) *)sqlite3_file * sqlite3_database_file_object(const(char) *)char * sqlite3_create_filename(
const(char) * zDatabase,
const(char) * zJournal,
const(char) * zWal,
int nParam,
const(char *) * azParam
)int sqlite3_prepare(
sqlite3 * db, /** Database handle */
const(char) * zSql, /** SQL statement, UTF-8 encoded */
int nByte, /** Maximum length of zSql in bytes. */
sqlite3_stmt * * ppStmt, /** OUT: Statement handle */
const(char *) * pzTail /** OUT: Pointer to unused portion of zSql */
)CAPI3REF: Compiling An SQL Statementint sqlite3_prepare_v2(
sqlite3 * db, /** Database handle */
const(char) * zSql, /** SQL statement, UTF-8 encoded */
int nByte, /** Maximum length of zSql in bytes. */
sqlite3_stmt * * ppStmt, /** OUT: Statement handle */
const(char *) * pzTail /** OUT: Pointer to unused portion of zSql */
)Dittoint sqlite3_prepare_v3(
sqlite3 * db, /** Database handle */
const(char) * zSql, /** SQL statement, UTF-8 encoded */
int nByte, /** Maximum length of zSql in bytes. */
uint prepFlags, /** Zero or more SQLITE_PREPARE_ flags */
sqlite3_stmt * * ppStmt, /* OUT: Statement handle */
const(char *) * pzTail /* OUT: Pointer to unused portion of zSql */
)Dittoint sqlite3_prepare16(
sqlite3 * db, /** Database handle */
const(void) * zSql, /** SQL statement, UTF-16 encoded */
int nByte, /** Maximum length of zSql in bytes. */
sqlite3_stmt * * ppStmt, /** OUT: Statement handle */
const(void *) * pzTail /** OUT: Pointer to unused portion of zSql */
)Dittoint sqlite3_prepare16_v2(
sqlite3 * db, /** Database handle */
const(void) * zSql, /** SQL statement, UTF-16 encoded */
int nByte, /** Maximum length of zSql in bytes. */
sqlite3_stmt * * ppStmt, /** OUT: Statement handle */
const(void *) * pzTail /** OUT: Pointer to unused portion of zSql */
)Dittoint sqlite3_prepare16_v3(
sqlite3 * db, /** Database handle */
const(void) * zSql, /** SQL statement, UTF-16 encoded */
int nByte, /** Maximum length of zSql in bytes. */
uint prepFlags, /** Zero or more SQLITE_PREPARE_ flags */
sqlite3_stmt * * ppStmt, /** OUT: Statement handle */
const(void *) * pzTail /** OUT: Pointer to unused portion of zSql */
)Dittoconst(char) * sqlite3_normalized_sql(sqlite3_stmt * pStmt)int sqlite3_stmt_readonly(sqlite3_stmt * pStmt)int sqlite3_stmt_isexplain(sqlite3_stmt * pStmt)int sqlite3_bind_blob(sqlite3_stmt *, int, const void *, int n, void function (void *))CAPI3REF: Binding Values To Prepared Statementsint sqlite3_bind_blob64(sqlite3_stmt *, int, const void *, sqlite3_uint64, void function (void *))Dittoint sqlite3_bind_text64(sqlite3_stmt *, int, const char *, sqlite3_uint64, void function (void *), ubyte encoding)Dittoint sqlite3_bind_parameter_index(sqlite3_stmt *, const char * zName)CAPI3REF: Index Of A Parameter With A Given Nameconst(char) * sqlite3_column_database_name(sqlite3_stmt *, int)CAPI3REF: Source Of Data In A Query Resultconst (char) * sqlite3_column_decltype(sqlite3_stmt *, int)CAPI3REF: Declared Datatype Of A Query Resultint sqlite3_create_function(
sqlite3 * db,
const(char) * zFunctionName,
int nArg,
int eTextRep,
void * pApp,
void function (sqlite3_context *, int, sqlite3_value * *) xFunc,
void function (sqlite3_context *, int, sqlite3_value * *) xStep,
void function (sqlite3_context *) xFinal
)CAPI3REF: Create Or Redefine SQL Functionsint sqlite3_create_function16(
sqlite3 * db,
const(void) * zFunctionName,
int nArg,
int eTextRep,
void * pApp,
void function (sqlite3_context *, int, sqlite3_value * *) xFunc,
void function (sqlite3_context *, int, sqlite3_value * *) xStep,
void function (sqlite3_context *) xFinal
)Dittoint sqlite3_create_function_v2(
sqlite3 * db,
const(char) * zFunctionName,
int nArg,
int eTextRep,
void * pApp,
void function (sqlite3_context *, int, sqlite3_value * *) xFunc,
void function (sqlite3_context *, int, sqlite3_value * *) xStep,
void function (sqlite3_context *) xFinal,
void function (void *) xDestroy
)Dittoint sqlite3_create_window_function(
sqlite3 * db,
const(char) * zFunctionName,
int nArg,
int eTextRep,
void * pApp,
void function (sqlite3_context *, int, sqlite3_value * *) xStep,
void function (sqlite3_context *) xFinal,
void function (sqlite3_context *) xValue,
void function (sqlite3_context *, int, sqlite3_value * *) xInverse,
void function (void *) xDestroy
)Dittoint sqlite3_memory_alarm(void function(void *, sqlite3_int64, int), void *, sqlite3_int64)const (void) * sqlite3_value_blob(sqlite3_value *)CAPI3REF: Obtaining SQL Function Parameter Valuesuint sqlite3_value_subtype(sqlite3_value *)sqlite3_value * sqlite3_value_dup(const sqlite3_value *)void sqlite3_value_free(sqlite3_value *)void *sqlite3_aggregate_context sqlite3_aggregate_context(sqlite3_context *, int nBytes)CAPI3REF: Obtain Aggregate Function Contextsqlite3 *sqlite3_context_db_handle sqlite3_context_db_handle(sqlite3_context *)CAPI3REF: Database Connection For Functionsvoid *sqlite3_get_auxdata sqlite3_get_auxdata(sqlite3_context *, int N)CAPI3REF: Function Auxiliary Datavoid sqlite3_result_blob(sqlite3_context *, const void *, int, void function(void *))CAPI3REF: Setting The Result Of An SQL Functionvoid sqlite3_result_blob64(sqlite3_context *, const void *, sqlite3_uint64, void function(void *))Dittovoid sqlite3_result_text64(sqlite3_context *, const char *, sqlite3_uint64, void function(void *), ubyte encoding)Dittovoid sqlite3_result_subtype(sqlite3_context *, uint)int sqlite3_create_collation(
sqlite3 *,
const(char) * zName,
int eTextRep,
void * pArg,
int function (void *, int, const void *, int, const void *) xCompare
)CAPI3REF: Define New Collating Sequencesint sqlite3_create_collation_v2(
sqlite3 *,
const(char) * zName,
int eTextRep,
void * pArg,
int function (void *, int, const void *, int, const void *) xCompare,
void function (void *) xDestroy
)Dittoint sqlite3_create_collation16(
sqlite3 *,
const(void) * zName,
int eTextRep,
void * pArg,
int function (void *, int, const void *, int, const void *) xCompare
)Dittoint sqlite3_collation_needed(
sqlite3 *,
void *,
void function (void *, sqlite3 *, int eTextRep, const char *)
)CAPI3REF: Collation Needed Callbacksint sqlite3_collation_needed16(
sqlite3 *,
void *,
void function (void *, sqlite3 *, int eTextRep, const void *)
)Dittovoid sqlite3_activate_cerod(
const(char) * zPassPhrase /** Activation phrase */
)Specify the activation key for a CEROD database. Unless activated, none of the CEROD routines will work.int sqlite3_win32_set_directory(
c_ulong type, /** Identifier for directory being set or reset */
void * zValue /** New value for directory being set or reset */
)CAPI3REF: Win32 Specific Interfaceint sqlite3_win32_set_directory8(
c_ulong type, /** Identifier for directory being set or reset */
void * zValue /** New value for directory being set or reset */
)Dittoint sqlite3_win32_set_directory16(
c_ulong type, /** Identifier for directory being set or reset */
void * zValue /** New value for directory being set or reset */
)Dittosqlite3 *sqlite3_db_handle sqlite3_db_handle(sqlite3_stmt *)CAPI3REF: Find The Database Handle Of A Prepared Statementconst(char) * sqlite3_db_filename(sqlite3 * db, const char * zDbName)CAPI3REF: Return The Filename For A Database Connectionint sqlite3_db_readonly(sqlite3 * db, const char * zDbName)CAPI3REF: Determine if a database is read-onlysqlite3_stmt *sqlite3_next_stmt sqlite3_next_stmt(sqlite3 * pDb, sqlite3_stmt * pStmt)void *sqlite3_commit_hook sqlite3_commit_hook(sqlite3 *, int function (void *), void *)CAPI3REF: Commit And Rollback Notification Callbacksvoid *sqlite3_update_hook sqlite3_update_hook(
sqlite3 *,
void function (void *, int , char *, char *, sqlite3_int64),
void *
)CAPI3REF: Data Change Notification Callbackssqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 N)sqlite3_int64 sqlite3_hard_heap_limit64(sqlite3_int64 N)int sqlite3_table_column_metadata(
sqlite3 * db, /** Connection handle */
const(char) * zDbName, /** Database name or NULL */
const(char) * zTableName, /** Table name */
const(char) * zColumnName, /** Column name */
char * * pzDataType, /** OUTPUT: Declared data type */
char * * pzCollSeq, /** OUTPUT: Collation sequence name */
int * pNotNull, /** OUTPUT: True if NOT NULL constraint exists */
int * pPrimaryKey, /** OUTPUT: True if column part of PK */
int * pAutoinc /** OUTPUT: True if column is auto-increment */
)CAPI3REF: Extract Metadata About A Column Of A Tableint sqlite3_load_extension(
sqlite3 * db, /** Load the extension into this database connection */
const(char) * zFile, /** Name of the shared library containing extension */
const(char) * zProc, /** Entry point. Derived from zFile if 0 */
char * * pzErrMsg /** Put error message here if not 0 */
)CAPI3REF: Load An Extensionint sqlite3_enable_load_extension(sqlite3 * db, int onoff)CAPI3REF: Enable Or Disable Extension Loadingint sqlite3_auto_extension(void function () xEntryPoint)CAPI3REF: Automatically Load Statically Linked Extensionsint sqlite3_cancel_auto_extension(void function() xEntryPoint)CAPI3REF: Cancel Automatic Extension Loadingint sqlite3_create_module(
sqlite3 * db, /* SQLite connection to register module with */
const(char) * zName, /* Name of the module */
const(sqlite3_module) * p, /* Methods for the module */
void * pClientData /* Client data for xCreate/xConnect */
)CAPI3REF: Register A Virtual Table Implementationint sqlite3_create_module_v2(
sqlite3 * db, /* SQLite connection to register module with */
const(char) * zName, /* Name of the module */
const(sqlite3_module) * p, /* Methods for the module */
void * pClientData, /* Client data for xCreate/xConnect */
void function (void *) xDestroy /* Module destructor function */
)Dittoint sqlite3_drop_modules(
sqlite3 * db, /* Remove modules from this connection */
const(char *) * azKeep /* Except, do not remove the ones named here */
)CAPI3REF: Remove Unnecessary Virtual Table Implementationsint sqlite3_declare_vtab(sqlite3 *, const char * zSQL)CAPI3REF: Declare The Schema Of A Virtual Tableint sqlite3_overload_function(sqlite3 *, const char * zFuncName, int nArg)CAPI3REF: Overload A Function For A Virtual Tableint sqlite3_blob_open(
sqlite3 *,
const(char) * zDb,
const(char) * zTable,
const(char) * zColumn,
sqlite3_int64 iRow,
int flags,
sqlite3_blob * * ppBlob
)CAPI3REF: Open A BLOB For Incremental I/Oint sqlite3_blob_read(sqlite3_blob *, void * Z, int N, int iOffset)CAPI3REF: Read Data From A BLOB Incrementallyint sqlite3_blob_write(sqlite3_blob *, const void * z, int n, int iOffset)CAPI3REF: Write Data Into A BLOB Incrementallysqlite3_vfs *sqlite3_vfs_find sqlite3_vfs_find(const char * zVfsName)CAPI3REF: Virtual File System Objectssqlite3_mutex *sqlite3_db_mutex sqlite3_db_mutex(sqlite3 *)CAPI3REF: Retrieve the mutex for a database connectionint sqlite3_file_control(sqlite3 *, const char * zDbName, int op, void *)CAPI3REF: Low-Level Control Of Database Filesvoid sqlite3_str_appendf(sqlite3_str *, const(char) * zFormat, ...)CAPI3REF: Add Content To A Dynamic Stringint sqlite3_str_length(sqlite3_str *)char * sqlite3_str_value(sqlite3_str *)int sqlite3_status(int op, int * pCurrent, int * pHighwater, int resetFlag)CAPI3REF: SQLite Runtime Statusint sqlite3_db_status(sqlite3 *, int op, int * pCur, int * pHiwtr, int resetFlg)CAPI3REF: Database Connection Statussqlite3_backup *sqlite3_backup_init sqlite3_backup_init(
sqlite3 * pDest, /** Destination database handle */
const(char) * zDestName, /** Destination database name */
sqlite3 * pSource, /** Source database handle */
const(char) * zSourceName /** Source database name */
)CAPI3REF: Online Backup API.int sqlite3_unlock_notify(
sqlite3 * pBlocked, /** Waiting connection */
void function (void * * apArg, int nArg) xNotify, /** Callback function to invoke */
void * pNotifyArg /** Argument to pass to xNotify */
)CAPI3REF: Unlock Notificationint sqlite3_strnicmp(const char * , const char * , int)int sqlite3_strglob(const(char) * zGlob, const(char) * zStr)int sqlite3_strlike(const(char) * zGlob, const(char) * zStr, uint cEsc)void *sqlite3_wal_hook sqlite3_wal_hook(
sqlite3 *,
int function (void *, sqlite3 *, const char *, int),
void *
)CAPI3REF: Write-Ahead Log Commit Hookint sqlite3_wal_checkpoint_v2(
sqlite3 * db, /** Database handle */
const(char) * zDb, /** Name of attached database (or NULL) */
int eMode, /** SQLITE_CHECKPOINT_* value */
int * pnLog, /** OUT: Size of WAL log in frames */
int * pnCkpt /** OUT: Total number of frames checkpointed */
)CAPI3REF: Checkpoint a databaseint sqlite3_vtab_on_conflict(sqlite3 *)int sqlite3_vtab_nochange(sqlite3_context *)const(char) * sqlite3_vtab_collation(sqlite3_index_info *, int)int sqlite3_stmt_scanstatus(sqlite3_stmt * pStmt, int idx, int iScanStatusOp, void * pOut)void sqlite3_stmt_scanstatus_reset(sqlite3_stmt *)int sqlite3_db_cacheflush(sqlite3 *)void * sqlite3_preupdate_hook(
sqlite3 * db,
void function(
void * pCtx,
sqlite3 * db, /** Database handle */
int op, /** SQLITE_UPDATE, DELETE or INSERT */
const(char) * zDb, /** Database name */
const(char) * zName, /** Table name */
sqlite3_int64 iKey1, /** Rowid of row about to be deleted/updated */
sqlite3_int64 iKey2
) xPreUpdate,
void *
)int sqlite3_snapshot_get(sqlite3 * db, char * zSchema, sqlite3_snapshot * * ppSnapshot)int sqlite3_snapshot_open(sqlite3 * db, char * zSchema, sqlite3_snapshot * pSnapshot)void sqlite3_snapshot_free(sqlite3_snapshot *)int sqlite3_snapshot_cmp(sqlite3_snapshot * p1, sqlite3_snapshot * p2)int sqlite3_snapshot_recover(sqlite3 * db, const(char) * zDb)ubyte * sqlite3_serialize(
sqlite3 * db,
const(char) * zSchema,
sqlite3_int64 * piSize,
uint mFlags
)int sqlite3_deserialize(
sqlite3 * db,
const(char) * zSchema,
ubyte * pData,
sqlite3_int64 szDb,
sqlite3_int64 szBuf,
uint mFlags
)int sqlite3_rtree_geometry_callback(
sqlite3 * db,
const(char) * zGeom,
int function (sqlite3_rtree_geometry *, int nCoord, double * aCoord, int * pRes) xGeom,
void * pContext
)Register a geometry callback named zGeom that can be used as part of an R-Tree geometry query as follows:int sqlite3_rtree_query_callback(
sqlite3 * db,
const(char) * zQueryFunc,
int function(sqlite3_rtree_query_info *) xQueryFunc,
void * pContext,
void function(void *) xDestructor
)int sqlite3session_create(
sqlite3 * db,
const(char) * zDb,
sqlite3_session * * ppSession
)void sqlite3session_delete(sqlite3_session * pSession)int sqlite3session_enable(sqlite3_session * pSession, int bEnable)int sqlite3session_indirect(sqlite3_session * pSession, int bIndirect)int sqlite3session_attach(sqlite3_session * pSession, const(char) * zTab)void sqlite3session_table_filter(
sqlite3_session * pSession,
int function (void * pCtx, const(char) * zTab) xFilter,
void * pCtx
)int sqlite3session_changeset(
sqlite3_session * pSession,
int * pnChangeset,
void * * ppChangeset
)int sqlite3session_diff(
sqlite3_session * pSession,
const(char) * zFromDb,
const(char) * zTbl,
char * * pzErrMsg
)int sqlite3session_patchset(
sqlite3_session * pSession,
int * pnPatchset,
void * * ppPatchset
)int sqlite3session_isempty(sqlite3_session * pSession)int sqlite3changeset_start(
sqlite3_changeset_iter * * pp,
int nChangeset,
void * pChangeset
)int sqlite3changeset_start_v2(
sqlite3_changeset_iter * * pp,
int nChangeset,
void * pChangeset,
int flags
)Dittoint sqlite3changeset_next(sqlite3_changeset_iter * pIter)int sqlite3changeset_op(
sqlite3_changeset_iter * pIter,
const(char *) * pzTab,
int * pnCol,
int * pOp,
int * pbIndirect
)int sqlite3changeset_pk(
sqlite3_changeset_iter * pIter,
ubyte * * pabPK,
int * pnCol
)int sqlite3changeset_old(
sqlite3_changeset_iter * pIter,
int iVal,
sqlite3_value * * ppValue
)int sqlite3changeset_new(
sqlite3_changeset_iter * pIter,
int iVal,
sqlite3_value * * ppValue
)int sqlite3changeset_conflict(
sqlite3_changeset_iter * pIter,
int iVal,
sqlite3_value * * ppValue
)int sqlite3changeset_fk_conflicts(sqlite3_changeset_iter * pIter, int * pnOut)int sqlite3changeset_finalize(sqlite3_changeset_iter * pIter)int sqlite3changeset_invert(
int nIn,
const(void) * pIn,
int * pnOut,
void * * ppOut
)int sqlite3changeset_concat(
int nA,
void * pA,
int nB,
void * pB,
int * pnOut,
void * * ppOut
)int sqlite3changegroup_new(sqlite3_changegroup * * pp)int sqlite3changegroup_add(sqlite3_changegroup *, int nData, void * pData)int sqlite3changegroup_output(
sqlite3_changegroup *,
int * pnData,
void * * ppData
)void sqlite3changegroup_delete(sqlite3_changegroup *)int sqlite3changeset_apply(
sqlite3 * db,
int nChangeset,
void * pChangeset,
int function(void * pCtx, const(char) * zTab) xFilter,
int function(void * pCtx, int eConflict, sqlite3_changeset_iter * p) xConflict,
void * pCtx
)int sqlite3changeset_apply_v2(
sqlite3 * db,
int nChangeset,
void * pChangeset,
int function(void * pCtx, const(char) * zTab) xFilter,
int function(void * pCtx, int eConflict, sqlite3_changeset_iter * p) xConflict,
void * pCtx,
void * * ppRebase,
int * pnRebase,
int flags
)Dittoint sqlite3rebaser_create(sqlite3_rebaser * * ppNew)int sqlite3rebaser_configure(
sqlite3_rebaser *,
int nRebase,
const(void) * pRebase
)int sqlite3rebaser_rebase(
sqlite3_rebaser *,
int nIn,
const(void) * pIn,
int * pnOut,
void * * ppOut
)void sqlite3rebaser_delete(sqlite3_rebaser * p)int sqlite3changeset_apply_strm(
sqlite3 * db,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn,
int function (void * pCtx, const(char) * zTab) xFilter,
int function (void * pCtx, int eConflict, sqlite3_changeset_iter * p) xConflict,
void * pCtx
)int sqlite3changeset_apply_v2_strm(
sqlite3 * db,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn,
int function (void * pCtx, const(char) * zTab) xFilter,
int function (void * pCtx, int eConflict, sqlite3_changeset_iter * p) xConflict,
void * pCtx,
void * * ppRebase,
int * pnRebase,
int flags
)Dittoint sqlite3changeset_concat_strm(
int function (void * pIn, void * pData, int * pnData) xInputA,
void * pInA,
int function (void * pIn, void * pData, int * pnData) xInputB,
void * pInB,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
)Dittoint sqlite3changeset_invert_strm(
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
)Dittoint sqlite3changeset_start_strm(
sqlite3_changeset_iter * * pp,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn
)Dittoint sqlite3changeset_start_v2_strm(
sqlite3_changeset_iter * * pp,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn,
int flags
)Dittoint sqlite3session_changeset_strm(
sqlite3_session * pSession,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
)Dittoint sqlite3session_patchset_strm(
sqlite3_session * pSession,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
)Dittoint sqlite3changegroup_add_strm(
sqlite3_changegroup *,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn
)Dittoint sqlite3changegroup_output_strm(
sqlite3_changegroup *,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
)Dittoint sqlite3rebaser_rebase_strm(
sqlite3_rebaser * pRebaser,
int function (void * pIn, void * pData, int * pnData) xInput,
void * pIn,
int function (void * pOut, const(void) * pData, int nData) xOutput,
void * pOut
)Dittoint sqlite3session_config(int op, void * pArg)Variables 19
SQLITE_VERSION = "3.33.0"CAPI3REF: Compile-Time Library Version Numbers
SQLITE_VERSION_NUMBER = 3033000Ditto
SQLITE_SOURCE_ID = "2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f"Ditto
immutable(char) * sqlite3_versionCAPI3REF: Run-Time Library Version Numbers
SQLITE_SHM_NLOCK = 8CAPI3REF: Maximum xShmLock index
SQLITE_DETERMINISTIC = 0x000000800CAPI3REF: Function Flags
SQLITE_DIRECTONLY = 0x000080000SQLITE_SUBTYPE = 0x000100000SQLITE_INNOCUOUS = 0x000200000char *sqlite3_temp_directory sqlite3_temp_directoryCAPI3REF: Name Of The Folder Holding Temporary Files
char *sqlite3_data_directory sqlite3_data_directoryCAPI3REF: Name Of The Folder Holding Database Files
SQLITE_VTAB_CONSTRAINT_SUPPORT = 1CAPI3REF: Virtual Table Configuration Options
SQLITE_VTAB_INNOCUOUS = 2SQLITE_VTAB_DIRECTONLY = 3FTS5_TOKENIZE_QUERY = 0x0001Ditto
FTS5_TOKENIZE_PREFIX = 0x0002Ditto
FTS5_TOKENIZE_DOCUMENT = 0x0004Ditto
FTS5_TOKENIZE_AUX = 0x0008Ditto
FTS5_TOKEN_COLOCATED = 0x0001Ditto