C++ 기반 sqlite 클래스
더 자세히 ...
Public 멤버 함수 |
| | CppSQLite () |
| | ~CppSQLite () |
| bool | Open (const char *pszFileName, bool bUseLock=false) |
| | DB open 한다.
|
| bool | Close () |
| | DB close 한다.
|
| bool | IsOpen () |
| | DB 가 open 되어 있는지 검사한다.
|
| bool | Execute (const char *pszSQL) |
| | INSERT, UPDATE, DELETE SQL 문을 실행한다.
|
| bool | Execute (const char *pszSQL, int iArgCount,...) |
| | prepare statement 로 SQL INSERT, UPDATE, DELETE 명령을 수행한다.
|
| bool | Insert (const char *pszSQL, int64_t *piId) |
| | SQL INSERT 명령을 실행한 후, AUTOINCREMENT KEY 를 가져온다.
|
| bool | Insert (const char *pszSQL, int64_t *piId, int iArgCount,...) |
| | prepare statement 로 SQL INSERT 명령을 실행한 후, AUTOINCREMENT KEY 를 가져온다.
|
| bool | QueryOne (const char *pszSQL, int &iData) |
| | SQL 문으로 1개의 컬럼을 검색한다.
|
| bool | QueryOne (const char *pszSQL, uint32_t &iData) |
| | SQL 문으로 1개의 컬럼을 검색한다.
|
| bool | QueryOne (const char *pszSQL, uint64_t &iData) |
| | SQL 문으로 1개의 컬럼을 검색한다.
|
| bool | QueryOne (const char *pszSQL, std::string &strData) |
| | SQL 문으로 1개의 컬럼을 검색한다.
|
| bool | Query (const char *pszSQL, void *pclsData, bool(*FetchRow)(void *, sqlite3_stmt *psttStmt)) |
| | SELECT SQL 문을 실행한다.
|
상세한 설명
생성자 & 소멸자 문서화
| CppSQLite::~CppSQLite |
( |
| ) |
|