etc.c.sqlite3
- enum string
SQLITE_VERSION;
enum intSQLITE_VERSION_NUMBER;
enum stringSQLITE_SOURCE_ID; CAPI3REF コンパイル時ライブラリバージョン番号
- immutable(char)*
sqlite3_version;
nothrow immutable(char)*sqlite3_libversion();
nothrow immutable(char)*sqlite3_sourceid();
nothrow intsqlite3_libversion_number(); CAPI3REF ランタイムライブラリのバージョン番号
- nothrow int
sqlite3_compileoption_used(const char*zOptName);
nothrow immutable(char)*sqlite3_compileoption_get(intN); CAPI3REF ランタイムライブラリコンパイルオプション診断
- nothrow int
sqlite3_threadsafe(); CAPI3REF ライブラリがスレッドセーフかどうかのテスト
- struct
sqlite3; CAPI3REF データベース接続ハンドル
- alias
sqlite3_int64= long; - alias
sqlite3_uint64= ulong; - nothrow int
sqlite3_close(sqlite3*); CAPI3REF データベース接続のクローズ
- alias
sqlite3_callback= extern (C) int function(void*, int, char**, char**) nothrow; - コールバック関数の"型"。 これはレガシーであり、非推奨である。 これは歴史的な互換性のために含まれており 互換性のために含まれており、ドキュメント化されていない。
- nothrow int
sqlite3_exec(sqlite3*, const(char)*sql, int function(void*, int, char**, char**)callback, void*, char**errmsg); CAPI3REF ワンステップクエリ実行インターフェース
SQLITE_OK- 成功した結果
SQLITE_ERROR- 同上一般的なエラー
SQLITE_INTERNAL- SQLiteの内部ロジックエラー
SQLITE_PERM- アクセス許可が拒否された
SQLITE_ABORT- コールバック・ルーチンがアボートを要求した
SQLITE_BUSY- データベース・ファイルがロックされている
SQLITE_LOCKED- データベース内のテーブルがロックされている
SQLITE_NOMEM- malloc() が失敗した
SQLITE_READONLY- 読み取り専用データベースを書き込もうとした
SQLITE_INTERRUPT- sqlite3_interrupt() によって操作が終了した
SQLITE_IOERR- 何らかのディスク I/O エラーが発生した
SQLITE_CORRUPT- データベースのディスク・イメージが不正である
SQLITE_NOTFOUND- sqlite3_file_control() の opcode が不明である
SQLITE_FULL- データベースが一杯なので挿入に失敗した
SQLITE_CANTOPEN- データベース・ファイルをオープンできない
SQLITE_PROTOCOL- データベース・ロック・プロトコル・エラー
SQLITE_EMPTY- 内部使用のみ
SQLITE_SCHEMA- データベースのスキーマが変更された
SQLITE_TOOBIG- 文字列またはBLOBがサイズ制限を超えた
SQLITE_CONSTRAINT- 制約違反による中止
SQLITE_MISMATCH- データ型の不一致
SQLITE_MISUSE- ライブラリが正しく使用されていない
SQLITE_NOLFS- ホストでサポートされていないOSの機能を使用している
SQLITE_AUTH- 認証が拒否された
SQLITE_FORMAT- 使用されていない
SQLITE_RANGE- sqlite3_bind の 2 番目のパラメータが範囲外である
SQLITE_NOTADB- データベースファイルではないファイルが開かれた
SQLITE_ROW- sqlite3_step() に別の行が用意されている
SQLITE_DONE- sqlite3_step() の実行が終了した
SQLITE_OPEN_READONLY- sqlite3_open_v2() で OK
SQLITE_OPEN_READWRITE- sqlite3_open_v2() で OK
SQLITE_OPEN_CREATE- sqlite3_open_v2() で OK
SQLITE_OPEN_DELETEONCLOSE- VFS のみ
SQLITE_OPEN_EXCLUSIVE- VFS のみ
SQLITE_OPEN_AUTOPROXY- VFSのみ
SQLITE_OPEN_URI- sqlite3_open_v2() で OK
SQLITE_OPEN_MEMORY- sqlite3_open_v2() で OK
SQLITE_OPEN_MAIN_DB- VFS のみ
SQLITE_OPEN_TEMP_DB- VFS のみ
SQLITE_OPEN_TRANSIENT_DB- VFS のみ
SQLITE_OPEN_MAIN_JOURNAL- VFS のみ
SQLITE_OPEN_TEMP_JOURNAL- VFS のみ
SQLITE_OPEN_SUBJOURNAL- VFSのみ
SQLITE_OPEN_SUPER_JOURNAL- VFS のみ
SQLITE_OPEN_NOMUTEX- sqlite3_open_v2() で OK
SQLITE_OPEN_FULLMUTEX- OK for sqlite3_open_v2()
SQLITE_OPEN_SHAREDCACHE- sqlite3_open_v2() で OK
SQLITE_OPEN_PRIVATECACHE- sqlite3_open_v2() で OK
SQLITE_OPEN_WAL- VFSのみ
SQLITE_OPEN_NOFOLLOW- sqlite3_open_v2() で OK
- deprecated alias
SQLITE_OPEN_MASTER_JOURNAL= SQLITE_OPEN_SUPER_JOURNAL; - VFSのみ
- struct
sqlite3_file; CAPI3REF OS インターフェースオープンファイルハンドル
- struct
sqlite3_io_methods; CAPI3REF OS インターフェースファイル仮想メソッドオブジェクト
- struct
sqlite3_mutex; CAPI3REF ミューテックスハンドル
- struct
sqlite3_api_routines; CAPI3REF ローダブルエクステンションサンク
- alias
xDlSymReturn= extern (C) void* function() nothrow;
aliassqlite3_syscall_ptr= extern (C) void function() nothrow; CAPI3REF OSインターフェースオブジェクト
SQLITE_ACCESS_READWRITE- PRAGMA temp_store_directoryで使用される。
SQLITE_ACCESS_READ- 未使用
- enum int
SQLITE_SHM_NLOCK; CAPI3REF 最大xShmLockインデックス
- nothrow int
sqlite3_initialize();
nothrow intsqlite3_shutdown();
nothrow intsqlite3_os_init();
nothrow intsqlite3_os_end(); CAPI3REF SQLiteライブラリの初期化。
- nothrow int
sqlite3_config(int, ...); CAPI3REF SQLiteライブラリの設定。
- nothrow int
sqlite3_db_config(sqlite3*, intop, ...); CAPI3REF データベース接続の設定
- struct
sqlite3_mem_methods; CAPI3REF メモリ割り当てルーチン
- void* function(int)
xMalloc; - メモリ割り当て関数
- void function(void*)
xFree; - 先行アロケーションの解放
- void* function(void*, int)
xRealloc; - 割り当てサイズの変更
- int function(void*)
xSize; - アロケーションのサイズを返す。
- int function(int)
xRoundup; - リクエストサイズをアロケーションサイズに切り上げる
- int function(void*)
xInit; - メモリ・アロケータを初期化する
- void function(void*)
xShutdown; - メモリ・アロケータを非初期化する
- void*
pAppData; - xInit() および xShutdown() への引数。
SQLITE_CONFIG_SINGLETHREAD- nil
SQLITE_CONFIG_MULTITHREAD- nil
SQLITE_CONFIG_SERIALIZED- 無
SQLITE_CONFIG_MALLOC- sqlite3_mem_methods* を使用する。
SQLITE_CONFIG_GETMALLOC- sqlite3_mem_methods* を使用する。
SQLITE_CONFIG_SCRATCH- 使用されなくなった
SQLITE_CONFIG_PAGECACHE- void*, int sz, int N
SQLITE_CONFIG_HEAP- void*, int nByte, int min
SQLITE_CONFIG_MEMSTATUS- 論理値
SQLITE_CONFIG_MUTEX- SQLITE3_MUTEX_METHODS* は使われなくなった。
SQLITE_CONFIG_GETMUTEX- sqlite3_mutex_methods* を使用する。
SQLITE_CONFIG_LOOKASIDE- int
SQLITE_CONFIG_PCACHE- ノーオープン
SQLITE_CONFIG_GETPCACHE- no-op
SQLITE_CONFIG_LOG- xFunc, void*
SQLITE_CONFIG_URI- int
SQLITE_CONFIG_PCACHE2- sqlite3_pcache_methods2*。
SQLITE_CONFIG_GETPCACHE2- sqlite3_pcache_methods2*。
SQLITE_CONFIG_COVERING_INDEX_SCAN- int
SQLITE_CONFIG_SQLLOG- xSqllog, void*
SQLITE_CONFIG_MMAP_SIZE- sqlite3_int64, sqlite3_int64
SQLITE_CONFIG_WIN32_HEAPSIZE- int nバイト
SQLITE_CONFIG_PCACHE_HDRSZ- int *psz
SQLITE_CONFIG_PMASZ- 符号なし int szPma
SQLITE_CONFIG_STMTJRNL_SPILL- int nバイト
SQLITE_CONFIG_SMALL_MALLOC- 論理値
SQLITE_CONFIG_SORTERREF_SIZE- int nByte
SQLITE_CONFIG_MEMDB_MAXSIZE- sqlite3_int64
SQLITE_DBCONFIG_MAINDBNAME- const char*
SQLITE_DBCONFIG_LOOKASIDE- void* int
SQLITE_DBCONFIG_ENABLE_FKEY- int int*
SQLITE_DBCONFIG_ENABLE_TRIGGER- int int*
SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER- int int*
SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION- int int*
SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE- int int*
SQLITE_DBCONFIG_ENABLE_QPSG- int int*
SQLITE_DBCONFIG_TRIGGER_EQP- int int*
SQLITE_DBCONFIG_RESET_DATABASE- int int*
SQLITE_DBCONFIG_DEFENSIVE- int int*
SQLITE_DBCONFIG_WRITABLE_SCHEMA- int int*
SQLITE_DBCONFIG_LEGACY_ALTER_TABLE- int int*
SQLITE_DBCONFIG_DQS_DML- int int*
SQLITE_DBCONFIG_DQS_DDL- int int*
SQLITE_DBCONFIG_ENABLE_VIEW- int int*
SQLITE_DBCONFIG_LEGACY_FILE_FORMAT- int int*
SQLITE_DBCONFIG_TRUSTED_SCHEMA- int int* int int
SQLITE_DBCONFIG_MAX- 最大DBCONFIG
- nothrow int
sqlite3_extended_result_codes(sqlite3*, intonoff); CAPI3REF 拡張結果コードの有効化または無効化
- nothrow sqlite3_int64
sqlite3_last_insert_rowid(sqlite3*); CAPI3REF 最後の挿入行ID
- nothrow void
sqlite3_set_last_insert_rowid(sqlite3*, sqlite3_int64); CAPI3REF 最後の挿入行ID値を設定する。
- nothrow int
sqlite3_changes(sqlite3*); CAPI3REF 変更行数カウント
- nothrow int
sqlite3_total_changes(sqlite3*); CAPI3REF 変更された行の総数
- nothrow void
sqlite3_interrupt(sqlite3*); CAPI3REF 長時間実行中のクエリの中断
- nothrow int
sqlite3_complete(const char*sql);
nothrow intsqlite3_complete16(const void*sql); CAPI3REF SQL文の完了判定
- nothrow int
sqlite3_busy_handler(sqlite3*, int function(void*, int), void*); CAPI3REF SQLITE_BUSY エラーを処理するコールバックの登録
- nothrow int
sqlite3_busy_timeout(sqlite3*, intms); CAPI3REF ビジータイムアウトの設定
- nothrow int
sqlite3_get_table(sqlite3*db, const(char)*zSql, char***pazResult, int*pnRow, int*pnColumn, char**pzErrmsg); CAPI3REF クエリ実行のための便利なルーチン
- nothrow void
sqlite3_free_table(char**result); - nothrow char*
sqlite3_mprintf(const char*, ...); CAPI3REF 書式付き文字列表示関数
- nothrow void*
sqlite3_malloc(int);
nothrow void*sqlite3_malloc64(sqlite3_uint64);
nothrow void*sqlite3_realloc(void*, int);
nothrow void*sqlite3_realloc64(void*, sqlite3_uint64);
nothrow voidsqlite3_free(void*);
nothrow sqlite3_uint64sqlite3_msize(void*); CAPI3REF メモリ割り当てサブシステム
- nothrow sqlite3_int64
sqlite3_memory_used(); CAPI3REF メモリ割り当て統計
- nothrow void
sqlite3_randomness(intN, void*P); CAPI3REF 疑似乱数生成器
- nothrow int
sqlite3_set_authorizer(sqlite3*, int function(void*, int, const char*, const char*, const char*, const char*)xAuth, void*pUserData); CAPI3REF コンパイル時認可コールバック
SQLITE_DENY- SQL文をエラーで中止する。
SQLITE_IGNORE- アクセスは許可しないが、エラーは発生させない。
SQLITE_CREATE_INDEX- インデックス名 テーブル名
SQLITE_CREATE_TABLE- テーブル名 NULL
SQLITE_CREATE_TEMP_INDEX- インデックス名 テーブル名
SQLITE_CREATE_TEMP_TABLE- テーブル名 NULL
SQLITE_CREATE_TEMP_TRIGGER- トリガー名 テーブル名
SQLITE_CREATE_TEMP_VIEW- ビュー名 NULL
SQLITE_CREATE_TRIGGER- トリガー名 テーブル名
SQLITE_CREATE_VIEW- ビュー名 NULL
SQLITE_DELETE- テーブル名 NULL
SQLITE_DROP_INDEX- インデックス名 テーブル名
SQLITE_DROP_TABLE- テーブル名 NULL
SQLITE_DROP_TEMP_INDEX- インデックス名 テーブル名
SQLITE_DROP_TEMP_TABLE- テーブル名 NULL
SQLITE_DROP_TEMP_TRIGGER- トリガー名 テーブル名
SQLITE_DROP_TEMP_VIEW- ビュー名 NULL
SQLITE_DROP_TRIGGER- トリガー名 テーブル名
SQLITE_DROP_VIEW- ビュー名 NULL
SQLITE_INSERT- テーブル名 NULL
SQLITE_PRAGMA- プラグマ名 第 1 引数または NULL
SQLITE_READ- テーブル名 カラム名
SQLITE_SELECT- NULL NULL
SQLITE_TRANSACTION- 操作 NULL
SQLITE_UPDATE- テーブル名 カラム名
SQLITE_ATTACH- ファイル名 NULL
SQLITE_DETACH- データベース名 NULL
SQLITE_ALTER_TABLE- データベース名 テーブル名
SQLITE_REINDEX- インデックス名 NULL
SQLITE_ANALYZE- テーブル名 NULL
SQLITE_CREATE_VTABLE- テーブル名 モジュール名
SQLITE_DROP_VTABLE- テーブル名 モジュール名
SQLITE_FUNCTION- NULL関数名
SQLITE_SAVEPOINT- 操作 セーブポイント名
SQLITE_COPY- 使用されていない
SQLITE_RECURSIVE- NULL NULL
- deprecated nothrow void*
sqlite3_trace(sqlite3*, void function(void*, const char*)xTrace, void*);
deprecated nothrow void*sqlite3_profile(sqlite3*, void function(void*, const char*, sqlite3_uint64)xProfile, void*); CAPI3REF トレースおよびプロファイリング関数
- nothrow int
sqlite3_trace_v2(sqlite3*, uintuMask, int function(uint, void*, void*, void*)xCallback, void*pCtx); CAPI3REF SQLトレースフック
- nothrow void
sqlite3_progress_handler(sqlite3*, int, int function(void*), void*); CAPI3REF クエリ進行コールバック
- nothrow int
sqlite3_open(const(char)*filename, sqlite3**ppDb);
nothrow intsqlite3_open16(const(void)*filename, sqlite3**ppDb);
nothrow intsqlite3_open_v2(const(char)*filename, sqlite3**ppDb, intflags, const(char)*zVfs);
nothrow intsqlite3_uri_boolean(const(char)*zFile, const(char)*zParam, intbDefault);
nothrow sqlite3_int64sqlite3_uri_int64(const char*, const char*, sqlite3_int64);
nothrow const(char)*sqlite3_uri_key(const(char)*zFilename, intN);
nothrow const(char)*sqlite3_filename_journal(const(char)*);
nothrow const(char)*sqlite3_filename_wal(const(char)*);
nothrow voidsqlite3_free_filename(char*); CAPI3REF 新規データベース接続のオープン
- nothrow int
sqlite3_errcode(sqlite3*db);
nothrow intsqlite3_extended_errcode(sqlite3*db);
nothrow const(char)*sqlite3_errmsg(sqlite3*);
nothrow const(void)*sqlite3_errmsg16(sqlite3*);
nothrow const(char)*sqlite3_errstr(int); CAPI3REF エラーコードとメッセージ
- struct
sqlite3_stmt; CAPI3REF SQL文オブジェクト
- nothrow int
sqlite3_limit(sqlite3*, intid, intnewVal); CAPI3REF 実行時の制限
- nothrow int
sqlite3_prepare(sqlite3*db, const(char)*zSql, intnByte, sqlite3_stmt**ppStmt, const(char*)*pzTail);
nothrow intsqlite3_prepare_v2(sqlite3*db, const(char)*zSql, intnByte, sqlite3_stmt**ppStmt, const(char*)*pzTail);
nothrow intsqlite3_prepare_v3(sqlite3*db, const(char)*zSql, intnByte, uintprepFlags, sqlite3_stmt**ppStmt, const(char*)*pzTail);
nothrow intsqlite3_prepare16(sqlite3*db, const(void)*zSql, intnByte, sqlite3_stmt**ppStmt, const(void*)*pzTail);
nothrow intsqlite3_prepare16_v2(sqlite3*db, const(void)*zSql, intnByte, sqlite3_stmt**ppStmt, const(void*)*pzTail);
nothrow intsqlite3_prepare16_v3(sqlite3*db, const(void)*zSql, intnByte, uintprepFlags, sqlite3_stmt**ppStmt, const(void*)*pzTail); CAPI3REF SQL文のコンパイル。
- nothrow const(char)*
sqlite3_sql(sqlite3_stmt*pStmt);
nothrow char*sqlite3_expanded_sql(sqlite3_stmt*pStmt); CAPI3REF SQL文の取り出し
- nothrow int
sqlite3_stmt_busy(sqlite3_stmt*); CAPI3REF 準備された文がリセットされたかどうかの判定
- struct
sqlite3_value; CAPI3REF 動的型付き値オブジェクト
- struct
sqlite3_context; CAPI3REF SQL関数コンテキストオブジェクト
- nothrow int
sqlite3_bind_blob(sqlite3_stmt*, int, const void*, intn, void function(void*));
nothrow intsqlite3_bind_blob64(sqlite3_stmt*, int, const void*, sqlite3_uint64, void function(void*));
nothrow intsqlite3_bind_double(sqlite3_stmt*, int, double);
nothrow intsqlite3_bind_int(sqlite3_stmt*, int, int);
nothrow intsqlite3_bind_int64(sqlite3_stmt*, int, sqlite3_int64);
nothrow intsqlite3_bind_null(sqlite3_stmt*, int);
nothrow intsqlite3_bind_text(sqlite3_stmt*, int, const char*, intn, void function(void*));
nothrow intsqlite3_bind_text16(sqlite3_stmt*, int, const void*, int, void function(void*));
nothrow intsqlite3_bind_text64(sqlite3_stmt*, int, const char*, sqlite3_uint64, void function(void*), ubyteencoding);
nothrow intsqlite3_bind_value(sqlite3_stmt*, int, const sqlite3_value*);
nothrow intsqlite3_bind_zeroblob(sqlite3_stmt*, int, intn);
nothrow intsqlite3_bind_zeroblob64(sqlite3_stmt*, int, sqlite3_uint64n); CAPI3REF プリペアドステートメントへの値の結合
- nothrow int
sqlite3_bind_parameter_count(sqlite3_stmt*); CAPI3REF SQLパラメータ数
- nothrow const(char)*
sqlite3_bind_parameter_name(sqlite3_stmt*, int); CAPI3REF ホストパラメータ名。
- nothrow int
sqlite3_bind_parameter_index(sqlite3_stmt*, const char*zName); CAPI3REF 指定された名前のパラメータのインデックス
- nothrow int
sqlite3_clear_bindings(sqlite3_stmt*); CAPI3REF 準備された文のすべてのバインディングのリセット。
- nothrow int
sqlite3_column_count(sqlite3_stmt*pStmt); CAPI3REF 結果セット内の列数。
- nothrow const(char)*
sqlite3_column_name(sqlite3_stmt*, intN);
nothrow const(void)*sqlite3_column_name16(sqlite3_stmt*, intN); CAPI3REF 結果セット内の列名
- nothrow const(char)*
sqlite3_column_database_name(sqlite3_stmt*, int);
nothrow const(void)*sqlite3_column_database_name16(sqlite3_stmt*, int);
nothrow const(char)*sqlite3_column_table_name(sqlite3_stmt*, int);
nothrow const(void)*sqlite3_column_table_name16(sqlite3_stmt*, int);
nothrow const(char)*sqlite3_column_origin_name(sqlite3_stmt*, int);
nothrow const(void)*sqlite3_column_origin_name16(sqlite3_stmt*, int); CAPI3REF クエリ結果のデータ元
- nothrow const(char)*
sqlite3_column_decltype(sqlite3_stmt*, int);
nothrow const(void)*sqlite3_column_decltype16(sqlite3_stmt*, int); CAPI3REF クエリ結果の宣言されたデータ型。
- nothrow int
sqlite3_step(sqlite3_stmt*); CAPI3REF SQL文の評価
- nothrow int
sqlite3_data_count(sqlite3_stmt*pStmt); CAPI3REF 結果セット内のカラム数
- nothrow const(void)*
sqlite3_column_blob(sqlite3_stmt*, intiCol);
nothrow doublesqlite3_column_double(sqlite3_stmt*, intiCol);
nothrow intsqlite3_column_int(sqlite3_stmt*, intiCol);
nothrow sqlite3_int64sqlite3_column_int64(sqlite3_stmt*, intiCol);
nothrow const(char)*sqlite3_column_text(sqlite3_stmt*, intiCol);
nothrow const(void)*sqlite3_column_text16(sqlite3_stmt*, intiCol);
nothrow sqlite3_value*sqlite3_column_value(sqlite3_stmt*, intiCol);
nothrow intsqlite3_column_bytes(sqlite3_stmt*, intiCol);
nothrow intsqlite3_column_bytes16(sqlite3_stmt*, intiCol);
nothrow intsqlite3_column_type(sqlite3_stmt*, intiCol); CAPI3REF クエリの結果値。
- nothrow int
sqlite3_finalize(sqlite3_stmt*pStmt); CAPI3REF 準備されたステートメントオブジェクトの破棄。
- nothrow int
sqlite3_reset(sqlite3_stmt*pStmt); CAPI3REF 準備済みステートメントオブジェクトのリセット
- nothrow int
sqlite3_create_function(sqlite3*db, const(char)*zFunctionName, intnArg, inteTextRep, void*pApp, void function(sqlite3_context*, int, sqlite3_value**)xFunc, void function(sqlite3_context*, int, sqlite3_value**)xStep, void function(sqlite3_context*)xFinal);
nothrow intsqlite3_create_function16(sqlite3*db, const(void)*zFunctionName, intnArg, inteTextRep, void*pApp, void function(sqlite3_context*, int, sqlite3_value**)xFunc, void function(sqlite3_context*, int, sqlite3_value**)xStep, void function(sqlite3_context*)xFinal);
nothrow intsqlite3_create_function_v2(sqlite3*db, const(char)*zFunctionName, intnArg, inteTextRep, 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);
nothrow intsqlite3_create_window_function(sqlite3*db, const(char)*zFunctionName, intnArg, inteTextRep, 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); CAPI3REF SQL 関数の作成または再定義。
SQLITE_UTF8IMP R-37514-35566
SQLITE_UTF16LEIMP R-03371-37637
SQLITE_UTF16BEIMP R-51971-34154
SQLITE_UTF16- ネイティブのバイトオーダーを使用する
SQLITE_ANY- sqlite3_create_function のみ
SQLITE_UTF16_ALIGNED- sqlite3_create_collation のみ。
- enum int
SQLITE_DETERMINISTIC; CAPI3REF 関数フラグ。
- deprecated nothrow int
sqlite3_aggregate_count(sqlite3_context*); CAPI3REF 非推奨関数。
- nothrow const(void)*
sqlite3_value_blob(sqlite3_value*);
nothrow intsqlite3_value_bytes(sqlite3_value*);
nothrow intsqlite3_value_bytes16(sqlite3_value*);
nothrow doublesqlite3_value_double(sqlite3_value*);
nothrow intsqlite3_value_int(sqlite3_value*);
nothrow sqlite3_int64sqlite3_value_int64(sqlite3_value*);
nothrow const(char)*sqlite3_value_text(sqlite3_value*);
nothrow const(void)*sqlite3_value_text16(sqlite3_value*);
nothrow const(void)*sqlite3_value_text16le(sqlite3_value*);
nothrow const(void)*sqlite3_value_text16be(sqlite3_value*);
nothrow intsqlite3_value_type(sqlite3_value*);
nothrow intsqlite3_value_numeric_type(sqlite3_value*);
nothrow intsqlite3_value_nochange(sqlite3_value*);
nothrow intsqlite3_value_frombind(sqlite3_value*); CAPI3REF SQL関数パラメータ値の取得
- nothrow void*
sqlite3_aggregate_context(sqlite3_context*, intnBytes); CAPI3REF 集約関数コンテキストの取得
- nothrow void*
sqlite3_user_data(sqlite3_context*); CAPI3REF 関数用ユーザーデータ
- nothrow sqlite3*
sqlite3_context_db_handle(sqlite3_context*); CAPI3REF データベース接続(関数用) CAPI3REF
- nothrow void*
sqlite3_get_auxdata(sqlite3_context*, intN);
nothrow voidsqlite3_set_auxdata(sqlite3_context*, intN, void*, void function(void*)); CAPI3REF 関数補助データ
- alias
sqlite3_destructor_type= extern (C) void function(void*) nothrow; CAPI3REF 特殊なデストラクタの振る舞いを定義する定数
- nothrow void
sqlite3_result_blob(sqlite3_context*, const void*, int, void function(void*));
nothrow voidsqlite3_result_blob64(sqlite3_context*, const void*, sqlite3_uint64, void function(void*));
nothrow voidsqlite3_result_double(sqlite3_context*, double);
nothrow voidsqlite3_result_error(sqlite3_context*, const char*, int);
nothrow voidsqlite3_result_error16(sqlite3_context*, const void*, int);
nothrow voidsqlite3_result_error_toobig(sqlite3_context*);
nothrow voidsqlite3_result_error_nomem(sqlite3_context*);
nothrow voidsqlite3_result_error_code(sqlite3_context*, int);
nothrow voidsqlite3_result_int(sqlite3_context*, int);
nothrow voidsqlite3_result_int64(sqlite3_context*, sqlite3_int64);
nothrow voidsqlite3_result_null(sqlite3_context*);
nothrow voidsqlite3_result_text(sqlite3_context*, const char*, int, void function(void*));
nothrow voidsqlite3_result_text64(sqlite3_context*, const char*, sqlite3_uint64, void function(void*), ubyteencoding);
nothrow voidsqlite3_result_text16(sqlite3_context*, const void*, int, void function(void*));
nothrow voidsqlite3_result_text16le(sqlite3_context*, const void*, int, void function(void*));
nothrow voidsqlite3_result_text16be(sqlite3_context*, const void*, int, void function(void*));
nothrow voidsqlite3_result_value(sqlite3_context*, sqlite3_value*);
nothrow voidsqlite3_result_zeroblob(sqlite3_context*, intn);
nothrow intsqlite3_result_zeroblob64(sqlite3_context*, sqlite3_uint64n); CAPI3REF SQL関数の結果の設定
- nothrow int
sqlite3_create_collation(sqlite3*, const(char)*zName, inteTextRep, void*pArg, int function(void*, int, const void*, int, const void*)xCompare);
nothrow intsqlite3_create_collation_v2(sqlite3*, const(char)*zName, inteTextRep, void*pArg, int function(void*, int, const void*, int, const void*)xCompare, void function(void*)xDestroy);
nothrow intsqlite3_create_collation16(sqlite3*, const(void)*zName, inteTextRep, void*pArg, int function(void*, int, const void*, int, const void*)xCompare); CAPI3REF 新しい照合順序の定義
- nothrow int
sqlite3_collation_needed(sqlite3*, void*, void function(void*, sqlite3*, int eTextRep, const char*));
nothrow intsqlite3_collation_needed16(sqlite3*, void*, void function(void*, sqlite3*, int eTextRep, const void*)); CAPI3REF 照合に必要なコールバック
- nothrow void
sqlite3_activate_cerod(const(char)*zPassPhrase); - CERODデータベースの起動キーを指定する。 アクティベートされない限り 有効化されない限り、CEROD ルーチンは動作しない。
- nothrow int
sqlite3_sleep(int); CAPI3REF 短時間実行を一時停止する。
- char*
sqlite3_temp_directory; CAPI3REF 一時ファイルを保持するフォルダ名。
- char*
sqlite3_data_directory; CAPI3REF データベースファイルを保持するフォルダ名。
- nothrow int
sqlite3_win32_set_directory(c_ulongtype, void*zValue);
nothrow intsqlite3_win32_set_directory8(c_ulongtype, void*zValue);
nothrow intsqlite3_win32_set_directory16(c_ulongtype, void*zValue); CAPI3REF Win32 専用インターフェース。
- nothrow int
sqlite3_get_autocommit(sqlite3*); CAPI3REF 自動コミットモードのテスト。
- nothrow sqlite3*
sqlite3_db_handle(sqlite3_stmt*); CAPI3REF 準備されたステートメントのデータベースハンドルを検索する。
- nothrow const(char)*
sqlite3_db_filename(sqlite3*db, const char*zDbName); CAPI3REF データベース接続のファイル名を返す
- nothrow int
sqlite3_db_readonly(sqlite3*db, const char*zDbName); CAPI3REF データベースが読み取り専用かどうかの判定
- nothrow void*
sqlite3_commit_hook(sqlite3*, int function(void*), void*);
nothrow void*sqlite3_rollback_hook(sqlite3*, void function(void*), void*); CAPI3REF コミットおよびロールバック通知コールバック
- nothrow void*
sqlite3_update_hook(sqlite3*, void function(void*, int, char*, char*, sqlite3_int64), void*); CAPI3REF データ変更通知コールバック
- nothrow int
sqlite3_enable_shared_cache(int); CAPI3REF 共有ページャーキャッシュを有効または無効にする
- nothrow int
sqlite3_release_memory(int); CAPI3REF ヒープメモリの解放を試みる
- nothrow int
sqlite3_db_release_memory(sqlite3*); CAPI3REF データベース接続で使用されるメモリの解放。
- deprecated nothrow void
sqlite3_soft_heap_limit(intN); CAPI3REF 非推奨ソフトヒープ制限インターフェイス。
- nothrow int
sqlite3_table_column_metadata(sqlite3*db, const(char)*zDbName, const(char)*zTableName, const(char)*zColumnName, char**pzDataType, char**pzCollSeq, int*pNotNull, int*pPrimaryKey, int*pAutoinc); CAPI3REF テーブルのカラムに関するメタデータの抽出
- nothrow int
sqlite3_load_extension(sqlite3*db, const(char)*zFile, const(char)*zProc, char**pzErrMsg); CAPI3REF 拡張モジュールのロード。
- nothrow int
sqlite3_enable_load_extension(sqlite3*db, intonoff); CAPI3REF 拡張モジュール読み込みの有効化あるいは無効化。
- nothrow int
sqlite3_auto_extension(void function()xEntryPoint); CAPI3REF 静的にリンクされた拡張モジュールを自動的にロードする
- nothrow int
sqlite3_cancel_auto_extension(void function()xEntryPoint); CAPI3REF 拡張子の自動読み込みのキャンセル
- nothrow void
sqlite3_reset_auto_extension(); CAPI3REF 自動拡張ロードのリセット
- alias
mapFunction= extern (C) void function(sqlite3_context*, int, sqlite3_value**) nothrow;
structsqlite3_module; - 仮想テーブル機構へのインターフェイスは、現在実験的なものである。 は実験的なものである。 インターフェイスは互換性のない方法で変更される可能性がある。 もしこれが問題であれば、現時点ではこのインターフェイスを使用しないこと。仮想テーブル機構が安定したら、我々はそのインターフェイスを固定と宣言し、無期限にサポートする予定である。 このコメントを削除する。
CAPI3REF 仮想テーブルオブジェクト
- struct
sqlite3_index_info; CAPI3REF 仮想テーブルインデックス情報
- int
nConstraint; - 制約のエントリ数
- sqlite3_index_constraint*
aConstraint; - WHERE句制約のテーブル
- int
nOrderBy; - ORDER BY句の項数
- sqlite3_index_orderby*
aOrderBy; - ORDER BY句
- int
idxNum; - インデックスを識別するための番号
- char*
idxStr; - 文字列、おそらくsqlite3_mallocから得られる
- int
needToFreeIdxStr; - trueの場合、sqlite3_free()を使用してidxStrを解放する。
- int
orderByConsumed; - 出力が既に順序付けされている場合は真
- double
estimatedCost; - このインデックスを使用する推定コスト
- nothrow int
sqlite3_create_module(sqlite3*db, const(char)*zName, const(sqlite3_module)*p, void*pClientData);
nothrow intsqlite3_create_module_v2(sqlite3*db, const(char)*zName, const(sqlite3_module)*p, void*pClientData, void function(void*)xDestroy); CAPI3REF 仮想テーブル実装を登録する
- nothrow int
sqlite3_drop_modules(sqlite3*db, const(char*)*azKeep); CAPI3REF 不要な仮想テーブル実装の削除
- struct
sqlite3_vtab; CAPI3REF 仮想テーブルインスタンスオブジェクト
- const(sqlite3_module)*
pModule; - この仮想テーブルのモジュール
- int
nRef; - 使用されなくなった
- char*
zErrMsg; - sqlite3_mprintf() からのエラーメッセージ。
- struct
sqlite3_vtab_cursor; CAPI3REF 仮想テーブルカーソルオブジェクト
- sqlite3_vtab*
pVtab; - このカーソルの仮想テーブル
- nothrow int
sqlite3_declare_vtab(sqlite3*, const char*zSQL); CAPI3REF 仮想テーブルのスキーマ宣言
- nothrow int
sqlite3_overload_function(sqlite3*, const char*zFuncName, intnArg); CAPI3REF 仮想テーブル関数のオーバーロード
- struct
sqlite3_blob; - 上記で定義された仮想テーブル機構へのインタフェース(このコメントと非常に類似している このコメントとよく似ている。 実験的なものである。 インターフェイスは互換性のない方法で変更されるかもしれない。 もしそれが問題であれば、現時点ではそのインターフェイスを使わないこと。仮想テーブルのメカニズムが安定したら、私たちはこのインターフェイスの固定化を宣言し、無期限にサポートする。 このコメントを削除する。
- nothrow int
sqlite3_blob_open(sqlite3*, const(char)*zDb, const(char)*zTable, const(char)*zColumn, sqlite3_int64iRow, intflags, sqlite3_blob**ppBlob); CAPI3REF インクリメンタルI/O用にBLOBをオープンする
- nothrow int
sqlite3_blob_reopen(sqlite3_blob*, sqlite3_int64); CAPI3REF BLOBハンドルを新しい行に移動する
- nothrow int
sqlite3_blob_close(sqlite3_blob*); CAPI3REF BLOBハンドルクローズ
- nothrow int
sqlite3_blob_bytes(sqlite3_blob*); CAPI3REF 開いているBLOBのサイズを返す
- nothrow int
sqlite3_blob_read(sqlite3_blob*, void*Z, intN, intiOffset); CAPI3REF BLOBからのデータのインクリメンタル読み込み
- nothrow int
sqlite3_blob_write(sqlite3_blob*, const void*z, intn, intiOffset); CAPI3REF BLOBへのインクリメンタルなデータ書き込み
- nothrow sqlite3_vfs*
sqlite3_vfs_find(const char*zVfsName);
nothrow intsqlite3_vfs_register(sqlite3_vfs*, intmakeDflt);
nothrow intsqlite3_vfs_unregister(sqlite3_vfs*); CAPI3REF 仮想ファイルシステムオブジェクト
- nothrow sqlite3_mutex*
sqlite3_mutex_alloc(int);
nothrow voidsqlite3_mutex_free(sqlite3_mutex*);
nothrow voidsqlite3_mutex_enter(sqlite3_mutex*);
nothrow intsqlite3_mutex_try(sqlite3_mutex*);
nothrow voidsqlite3_mutex_leave(sqlite3_mutex*); CAPI3REF ミューテックス
- struct
sqlite3_mutex_methods; CAPI3REF ミューテックスメソッドオブジェクト
- nothrow int
sqlite3_mutex_held(sqlite3_mutex*);
nothrow intsqlite3_mutex_notheld(sqlite3_mutex*); CAPI3REF ミューテックス検証ルーチン
SQLITE_MUTEX_STATIC_MEM- sqlite3_malloc()
SQLITE_MUTEX_STATIC_MEM2- 使用不可
SQLITE_MUTEX_STATIC_OPEN- sqlite3BtreeOpen()
SQLITE_MUTEX_STATIC_PRNG- sqlite3_randomness()
SQLITE_MUTEX_STATIC_LRU- lruページリスト
SQLITE_MUTEX_STATIC_LRU2- 使用不可
SQLITE_MUTEX_STATIC_PMEM- sqlite3PageMalloc()
SQLITE_MUTEX_STATIC_APP1- アプリケーションで使用する
SQLITE_MUTEX_STATIC_APP2- アプリケーションで使用する
SQLITE_MUTEX_STATIC_APP3- アプリケーションで使用する
SQLITE_MUTEX_STATIC_VFS1- 組み込みVFSで使用する
SQLITE_MUTEX_STATIC_VFS2- 拡張VFSで使用する
SQLITE_MUTEX_STATIC_VFS3- アプリケーションVFSで使用する場合
- nothrow sqlite3_mutex*
sqlite3_db_mutex(sqlite3*); CAPI3REF データベース接続のミューテックスの取得
- nothrow int
sqlite3_file_control(sqlite3*, const char*zDbName, intop, void*); CAPI3REF データベースファイルの低レベル制御
- nothrow int
sqlite3_test_control(intop, ...); CAPI3REF テスト用インターフェイス
SQLITE_TESTCTRL_PRNG_RESET- 未使用
SQLITE_TESTCTRL_RESERVE- 未使用
SQLITE_TESTCTRL_ISKEYWORD- 使用しない
SQLITE_TESTCTRL_SCRATCHMALLOC- 使用しない
SQLITE_TESTCTRL_EXPLAIN_STMT- 使用しない
SQLITE_TESTCTRL_LAST- 最大のTESTCTRL
- nothrow int
sqlite3_keyword_count();
nothrow intsqlite3_keyword_name(int, const(char*)*, int*);
nothrow intsqlite3_keyword_check(const(char)*, int); CAPI3REF SQLキーワードチェック
- struct
sqlite3_str; CAPI3REF 動的文字列オブジェクト
- nothrow sqlite3_str*
sqlite3_str_new(sqlite3*); CAPI3REF 動的文字列オブジェクトの新規作成
- nothrow char*
sqlite3_str_finish(sqlite3_str*); CAPI3REF 動的文字列の確定
- nothrow void
sqlite3_str_appendf(sqlite3_str*, const(char)*zFormat, ...);
nothrow voidsqlite3_str_vappendf(sqlite3_str*, const(char)*zFormat, va_list);
nothrow voidsqlite3_str_append(sqlite3_str*, const(char)*zIn, intN);
nothrow voidsqlite3_str_appendall(sqlite3_str*, const(char)*zIn);
nothrow voidsqlite3_str_appendchar(sqlite3_str*, intN, charC);
nothrow voidsqlite3_str_reset(sqlite3_str*); CAPI3REF 動的文字列に内容を追加する。
- nothrow int
sqlite3_str_errcode(sqlite3_str*); CAPI3REF 動的文字列のステータス。
- nothrow int
sqlite3_status(intop, int*pCurrent, int*pHighwater, intresetFlag);
nothrow intsqlite3_status64(intop, long*pCurrent, long*pHighwater, intresetFlag); CAPI3REF SQLiteランタイムステータス
SQLITE_STATUS_SCRATCH_USED- 使用されていない
SQLITE_STATUS_SCRATCH_OVERFLOW- 使用されていない。
SQLITE_STATUS_SCRATCH_SIZE- 使用不可
- nothrow int
sqlite3_db_status(sqlite3*, intop, int*pCur, int*pHiwtr, intresetFlg); CAPI3REF データベース接続ステータス
SQLITE_DBSTATUS_MAX- 定義された最大のDBSTATUS
- nothrow int
sqlite3_stmt_status(sqlite3_stmt*, intop, intresetFlg); CAPI3REF 準備済みステートメントステータス
- struct
sqlite3_pcache; CAPI3REF カスタムページキャッシュオブジェクト
- struct
sqlite3_pcache_page; CAPI3REF カスタムページキャッシュオブジェクト
- struct
sqlite3_pcache_methods2; CAPI3REF アプリケーション定義ページキャッシュ。
- struct
sqlite3_backup; CAPI3REF オンラインバックアップオブジェクト
- nothrow sqlite3_backup*
sqlite3_backup_init(sqlite3*pDest, const(char)*zDestName, sqlite3*pSource, const(char)*zSourceName);
nothrow intsqlite3_backup_step(sqlite3_backup*p, intnPage);
nothrow intsqlite3_backup_finish(sqlite3_backup*p);
nothrow intsqlite3_backup_remaining(sqlite3_backup*p);
nothrow intsqlite3_backup_pagecount(sqlite3_backup*p); CAPI3REF オンラインバックアップAPI。
- nothrow int
sqlite3_unlock_notify(sqlite3*pBlocked, void function(void** apArg, int nArg)xNotify, void*pNotifyArg); CAPI3REF ロック解除通知
- nothrow int
sqlite3_stricmp(const char*, const char*); CAPI3REF 文字列比較
- nothrow void
sqlite3_log(intiErrCode, const char*zFormat, ...); CAPI3REF エラーログインターフェース
- nothrow void*
sqlite3_wal_hook(sqlite3*, int function(void*, sqlite3*, const char*, int), void*); CAPI3REF ライトアヘッドログコミットフック
- nothrow int
sqlite3_wal_autocheckpoint(sqlite3*db, intN); CAPI3REF 自動チェックポイントの設定。
- nothrow int
sqlite3_wal_checkpoint(sqlite3*db, const char*zDb); CAPI3REF データベースのチェックポイント
- nothrow int
sqlite3_wal_checkpoint_v2(sqlite3*db, const(char)*zDb, inteMode, int*pnLog, int*pnCkpt); CAPI3REF データベースのチェックポイント
- enum int
SQLITE_VTAB_CONSTRAINT_SUPPORT;
nothrow intsqlite3_preupdate_old(sqlite3*, int, sqlite3_value**);
nothrow intsqlite3_preupdate_count(sqlite3*);
nothrow intsqlite3_preupdate_depth(sqlite3*);
nothrow intsqlite3_preupdate_new(sqlite3*, int, sqlite3_value**); CAPI3REF 仮想テーブル構成オプション
- nothrow int
sqlite3_rtree_geometry_callback(sqlite3*db, const(char)*zGeom, int function(sqlite3_rtree_geometry*, int nCoord, double* aCoord, int* pRes)xGeom, void*pContext); - 以下のように、R-Treeジオメトリクエリの一部として使用できるzGeomというジオメトリコールバックを登録する。 ジオメトリコールバックを登録する:SELECT ... FROM <rtree> WHERE <rtree col> MATCH zGeom(... params ...)
- struct
sqlite3_rtree_geometry; - 以下の型の構造体へのポインタは、rtreeを使用して登録されたコールバックの最初の引数として渡される。 rtree_geometry_callback() を使用して登録されたコールバックの最初の引数として渡される。
- void*
pContext; - s_r_g_c() に渡される pContext のコピー。
- int
nParam; - 配列 aParam[] のサイズ。
- double*
aParam; - SQL geom 関数に渡されるパラメータ。
- void*
pUser; - コールバック実装のユーザデータ
- void function(void*)
xDelUser; - SQLite によって呼び出され、pUser をクリーンアップする。
NOT_WITHIN- オブジェクトが完全にクエリ領域の外にある
PARTLY_WITHIN- オブジェクトが部分的にクエリ領域と重なっている
FULLY_WITHIN
nothrow intsqlite3changeset_start_v2(sqlite3_changeset_iter**pp, intnChangeset, void*pChangeset, intflags);
nothrow intsqlite3changeset_apply_v2(sqlite3*db, intnChangeset, 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, intflags);
nothrow intsqlite3changeset_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, intflags);
nothrow intsqlite3changeset_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);
nothrow intsqlite3changeset_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);
nothrow intsqlite3changeset_start_strm(sqlite3_changeset_iter**pp, int function(void*pIn, void* pData, int* pnData)xInput, void*pIn);
nothrow intsqlite3changeset_start_v2_strm(sqlite3_changeset_iter**pp, int function(void*pIn, void* pData, int* pnData)xInput, void*pIn, intflags);
nothrow intsqlite3session_changeset_strm(sqlite3_session*pSession, int function(void*pOut, const(void)* pData, int nData)xOutput, void*pOut);
nothrow intsqlite3session_patchset_strm(sqlite3_session*pSession, int function(void*pOut, const(void)* pData, int nData)xOutput, void*pOut);
nothrow intsqlite3changegroup_add_strm(sqlite3_changegroup*, int function(void*pIn, void* pData, int* pnData)xInput, void*pIn);
nothrow intsqlite3changegroup_output_strm(sqlite3_changegroup*, int function(void*pOut, const(void)* pData, int nData)xOutput, void*pOut);
nothrow intsqlite3rebaser_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);- オブジェクトがクエリ領域内に完全に含まれる
- struct
Fts5Context;
aliasfts5_extension_function= extern (C) void function(const(Fts5ExtensionApi*) pApi, Fts5Context* pFts, sqlite3_context* pCtx, int nVal, sqlite3_value** apVal) nothrow;
structFts5PhraseIter;
structFts5ExtensionApi;
structFts5Tokenizer;
enum intFTS5_TOKENIZE_QUERY;
enum intFTS5_TOKENIZE_PREFIX;
enum intFTS5_TOKENIZE_DOCUMENT;
enum intFTS5_TOKENIZE_AUX;
enum intFTS5_TOKEN_COLOCATED;
structfts5_api; - FTS5.
DEEPL APIにより翻訳、ところどころ修正。
このページの最新版(英語)
このページの原文(英語)
翻訳時のdmdのバージョン: 2.108.0
サイト全体のドキュメントのdmdのバージョン: 2.109.1
最新のdmdのバージョン: 2.111.0 ダウンロード
翻訳日付:
HTML生成日時:
編集者: dokutoku