Alternate e697dbe9c5997e35395fe158628dd8c5209481da
for Visual Studio 2022 and Windows 11.
|
SqLite3操作クラス(Engine) [詳解]
#include <Engine.h>
公開メンバ関数 | |
Engine () | |
コンストラクタ | |
virtual | ~Engine () |
デストラクタ | |
bool | BeginTransaction () |
トランザクション開始 | |
bool | Close () |
DBファイルのクローズ | |
bool | CommitTransaction () |
トランザクションコミット | |
bool | Create (LPCTSTR lpctszDBName) |
DBファイルの作成・オープン | |
bool | Execute (LPCSTR lpcszSQL) |
SQLステートメント実行 | |
sqlite3 * | GetEngine () |
エンジン部を取得 | |
LPCTSTR | GetErrorMessage () |
エラーメッセージの取得 | |
ULONGLONG | GetLastRowID () |
最後の実行時のROWIDを取得 | |
bool | RollbackTransaction () |
トランザクションロールバック | |
bool | Vacuum () |
空き領域の整理 | |
![]() | |
Core () | |
コンストラクタ | |
virtual | ~Core () |
デストラクタ | |
限定公開変数類 | |
sqlite3 * | _engine |
SQLite3コンテキスト | |
![]() | |
int | _lastError |
SQLite3関数エラー値 | |
その他の継承メンバ | |
![]() | |
bool | getResponse () |
各関数の戻り値判定共通 | |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
DBファイルのクローズ
参照先 _engine, alt::db::Core::_lastError, alt::db::Core::getResponse(), sqlite3_close().
|
inline |
|
inline |
DBファイルの作成・オープン
[in] | lpctszDBName | データベースファイル名 |
参照先 _engine, alt::db::Core::_lastError, alt::db::Core::getResponse(), sqlite3_open16().
|
inline |
SQLステートメント実行
[in] | lpcszSQL | SQLステートメント |
参照先 _engine, alt::db::Core::_lastError, alt::db::Core::getResponse(), sqlite3_exec().
参照元 BeginTransaction(), CommitTransaction(), RollbackTransaction(), DBLibraryTest::TEST_CLASS(), Vacuum().
|
inline |
|
inline |
エラーメッセージの取得
参照先 _engine, sqlite3_errmsg16().
|
inline |
|
inline |
|
protected |
SQLite3コンテキスト
参照元 Engine(), ~Engine(), Close(), Create(), Execute(), GetEngine(), GetErrorMessage(), GetLastRowID().