22 virtual void callback (
const std::vector<std::string>& vals,
const std::vector<std::string>& cols) = 0;
30 typedef void (*
Sq3LiteExecSCB) (
const std::vector<std::string>& vals,
const std::vector<std::string>& cols);
68 static inline MK_PTR Sq3LiteC_selfCreateTLS (
MK_OBJ obj);
84 #ifdef Sq3LiteC_selfCreate_overload
93 delete static_cast<Sq3LiteC*
>(self);
97 Sq3LiteC* selfO =
static_cast<Sq3LiteC*
>(self);
108#ifndef META_IS_MkObjectC
114#ifndef META_IS_MkObjectC
126 if (
unlikely(ret == NULL)) InstHdlIsNullError();
138 if (
unlikely(ret == NULL)) InstHdlIsNullError();
156 return clsHdl ?
reinterpret_cast<SQ3_LITE>(clsHdl->
hdl) : NULL;
168 return clsHdl ?
reinterpret_cast<SQ3_LITEN>(clsHdl->
hdl) : NULL;
378 void TxnState (
const std::string& zSchema);
406 SQ3_FILENAME
DbFilename (
const std::string& zDbName);
457 std::tuple<MK_STRN,MK_STRN,MK_I32,MK_I32,MK_I32>
TableColumnMetadata (
const std::string& zDbName,
const std::string& zTableName,
const std::string& zColumnName);
Struct to represent the data of the Sq3LiteC … → C-API: libsq3lite::Sq3LiteS
Callback for a Sq3LiteExec.
virtual void callback(const std::vector< std::string > &vals, const std::vector< std::string > &cols)=0
Callback for a Sq3LiteExecV2.
virtual void callback(const MkBufferListC &valL, const MkBufferListC &colL)=0
Sq3Lite PACKAGE - toplevel package of the Programming-Language-Micro-Kernel (PLMK) …
Struct to represent the data of the Sq3StmtC … → C-API: libsq3lite::Sq3StmtS
static MK_PTR atomObjCreate(MK_RT_ARGS MK_OBJ obj)
void atomInit(MK_OBJ obj)
static MK_PTR atomObjNew(MK_RT_ARGS MK_OBJ obj)
struct MkObjectS * MK_OBJ
static SQ3_LITE getLITE(const Sq3LiteC &clsHdl)
return LibMsgqueObject from current Sq3LiteC reference
SQ3_LITEN getLITEN__null_allow() const
(const) return the LibMsgqueObject from current Sq3LiteC instance
static Sq3LiteC * Sq3LiteC_ObjNew(MK_RT_ARGS SQ3_LITE hdl)
return Sq3LiteC from LibMsgqueObject
static thread_local Sq3LiteC MK_NULL_REF
static SQ3_LITEN getLITEN__null_allow(const Sq3LiteC *clsHdl)
(const) return LibMsgqueObject from current Sq3LiteC pointer
static SQ3_LITE getLITE__null_allow(const Sq3LiteC &clsHdl)
return LibMsgqueObject from current Sq3LiteC reference
static SQ3_LITEN getLITEN__null_allow(const Sq3LiteC &clsHdl)
(const) return LibMsgqueObject from current Sq3LiteC reference
static SQ3_LITEN getLITEN(const Sq3LiteC *clsHdl)
(const) return LibMsgqueObject from current Sq3LiteC pointer
static SQ3_LITE getLITE(Sq3LiteC *clsHdl)
return LibMsgqueObject from current Sq3LiteC pointer
bool Check() const
check if pointer is still valid
SQ3_LITEN getLITEN() const
(const) return the LibMsgqueObject from current Sq3LiteC instance
SQ3_LITE getLITE() const
return the LibMsgqueObject from current Sq3LiteC instance
static SQ3_LITE getLITE__null_allow(Sq3LiteC *clsHdl)
return LibMsgqueObject from current Sq3LiteC pointer
static SQ3_LITEN getLITEN(const Sq3LiteC &clsHdl)
(const) return LibMsgqueObject from current Sq3LiteC reference
SQ3_LITE getLITE__null_allow() const
return the LibMsgqueObject from current Sq3LiteC instance
Sq3LiteC * Next()
C++: Sq3LiteC* lite.Next() → C-API get next instance from linked-list of Sq3LiteS type
static Sq3LiteC * Instances()
C++: [static] Sq3LiteC* Sq3LiteC::Instances() → C-API get head-instance from linked-list of Sq3L...
Sq3LiteC * Prev()
C++: Sq3LiteC* lite.Prev() → C-API get previous instance from linked-list of Sq3LiteS type
static Sq3LiteC * HandleResolve(MK_HDL netHdl)
C++: [static] Sq3LiteC* Sq3LiteC::HandleResolve(MK_HDL netHdl) → C-API Handle-Resolve-Slot - ret...
static Sq3LiteC * GetNull()
C++: [static] Sq3LiteC* Sq3LiteC::GetNull() → C-API Null-Slot - return a Sq3LiteC typed NULL ins...
struct Sq3LiteS * SQ3_LITE
class-shortcut for struct Sq3LiteS *, all shortcut using the XX_YYY syntax (only for public API) …
static bool Sq3LiteCheck(MK_MNGN mng)
check Sq3LiteS -> libmkkernel::MkObjectS::signature …
#define Sq3LiteC_X2obj(x)
void DeclareVtab(MK_STRN zSQL)
C++: sq3lite.DeclareVtab(MK_STRN zSQL) → C-API Declare The Schema Of A Virtual Table …
void Limit(Sq3LimitE id, MK_I32 newVal)
C++: sq3lite.Limit(Sq3LimitE id, MK_I32 newVal) → C-API Run-time Limits …
void ExtendedResultCodes(MK_I32 onoff)
C++: sq3lite.ExtendedResultCodes(MK_I32 onoff) → C-API Enable Or Disable Extended Result Codes ...
void BusyTimeout(MK_I32 ms)
C++: sq3lite.BusyTimeout(MK_I32 ms) → C-API Set A Busy Timeout …
MK_STRN ErrMsg()
C++: MK_STRN sq3lite.ErrMsg() → C-API Error Codes And Messages …
Sq3ExtendetResultCodesE ExtendetErrCode()
C++: Sq3ExtendetResultCodesE db.ExtendetErrCode() → C-API Error Codes And Messages …
void ErrorOffset()
C++: db.ErrorOffset() → C-API Error Codes And Messages …
static MK_STRN ErrStr(MK_I32 arg0)
C++: [static] MK_STRN Sq3LiteC::ErrStr(MK_I32 arg0) → C-API Error Codes And Messages …
void SystemErrno()
C++: sq3lite.SystemErrno() → C-API Low-level system error code …
Sq3ErrorE ErrCode()
C++: Sq3ErrorE db.ErrCode() → C-API Error Codes And Messages …
static void Sleep(MK_I32 arg0)
C++: [static] Sq3LiteC::Sleep(MK_I32 arg0) → C-API Suspend Execution For A Short Time …
void Exec(MK_STRN sql, Sq3LiteExecIF *callback_data=NULL)
C++: sq3lite.Exec(MK_STRN sql, Sq3LiteExecSCB Sq3LiteExecIF* callback_data = NULL) → C-API One-...
void ExecV2(MK_STRN sql, Sq3LiteExecV2IF *callback=NULL)
C++: sq3lite.ExecV2(MK_STRN sql, Sq3LiteExecV2SCB Sq3LiteExecV2IF* callback = NULL) → C-API The...
void TxnState(MK_STRN zSchema)
C++: sq3lite.TxnState(MK_STRN zSchema) → C-API Determine the transaction state of a database …
MK_I32 GetAutocommit()
C++: MK_I32 sq3lite.GetAutocommit() → C-API Test For Auto-Commit Mode …
MK_I64 LastInsertRowid()
C++: MK_I64 sq3lite.LastInsertRowid() → C-API Last Insert Rowid …
void VtabOnConflict()
C++: sq3lite.VtabOnConflict() → C-API Determine The Virtual Table Conflict Policy …
MK_BNP Serialize(MK_STRN zSchema, Sq3SerializeE mFlags)
C++: MK_BNP sq3lite.Serialize(MK_STRN zSchema, Sq3SerializeE mFlags) → C-API Serialize a data...
MkBufferListC * DbStatusBFL(Sq3DbStatusE op, MK_BOOL resetFlg)
C++: MkBufferListC* sq3lite.DbStatusBFL(Sq3DbStatusE op, MK_BOOL resetFlg) → C-API Database C...
SQ3_FILENAME DbFilename(MK_STRN zDbName)
C++: SQ3_FILENAME db.DbFilename(MK_STRN zDbName) → C-API Return The Filename For A Database Con...
void DbCacheflush()
C++: sq3lite.DbCacheflush() → C-API Flush caches to disk mid-transaction …
std::tuple< MK_STRN, MK_STRN, MK_I32, MK_I32, MK_I32 > TableColumnMetadata(MK_STRN zDbName, MK_STRN zTableName, MK_STRN zColumnName)
C++: {pzDataType:MK_STRN pzCollSeq:MK_STRN pNotNull:MK_I32 pPrimaryKey:MK_I32 pAutoinc:MK_I32}...
void DbReadonly(MK_STRN zDbName)
C++: db.DbReadonly(MK_STRN zDbName) → C-API Determine if a database is read-only …
MK_STRN DbName(MK_I32 N)
C++: MK_STRN db.DbName(MK_I32 N) → C-API Return The Schema Name For A Database Connection …
void DbReleaseMemory()
C++: sq3lite.DbReleaseMemory() → C-API Free Memory Used By A Database Connection …
void OverloadFunction(MK_STRN zFuncName, MK_I32 nArg)
C++: sq3lite.OverloadFunction(MK_STRN zFuncName, MK_I32 nArg) → C-API Overload A Function For A...
std::tuple< MK_I32, MK_I32 > DbStatus(Sq3DbStatusE op, MK_BOOL resetFlg)
C++: {pCur:MK_I32 pHiwtr:MK_I32} sq3lite.DbStatus(Sq3DbStatusE op, MK_BOOL resetFlg) → C-API Da...
void DropModules(MkBufferListC *azKeepBfl)
C++: sq3lite.DropModules(MkBufferListC* azKeepBfl) → C-API Remove Unnecessary Virtual Table I...
void Deserialize(MK_STRN zSchema, MK_BNP pData, Sq3DeSerializeEF mFlags)
C++: sq3lite.Deserialize(MK_STRN zSchema, MK_BNP pData, Sq3DeSerializeEF mFlags) → C-API Dese...
std::tuple< MK_I32, MK_I32 > WalCheckpointV2(MK_STRN zDb, MK_I32 eMode)
C++: {pnLog:MK_I32 pnCkpt:MK_I32} db.WalCheckpointV2(MK_STRN zDb, MK_I32 eMode) → C-API Checkpo...
void WalAutocheckpoint(MK_I32 N)
C++: db.WalAutocheckpoint(MK_I32 N) → C-API Configure an auto-checkpoint …
MK_BOOL IsInterrupted()
C++: MK_BOOL sq3lite.IsInterrupted() → C-API Interrupt A Long-Running Query …
void Interrupt()
C++: sq3lite.Interrupt() → C-API Interrupt A Long-Running Query …
MK_I64 TotalChanges64()
C++: MK_I64 sq3lite.TotalChanges64() → C-API Total Number Of Rows Modified …
void SetLastInsertRowid(MK_I64 arg1)
C++: sq3lite.SetLastInsertRowid(MK_I64 arg1) → C-API Set the Last Insert Rowid value …
MK_I64 Changes64()
C++: MK_I64 sq3lite.Changes64() → C-API Count The Number Of Rows Modified …
MK_I32 Changes()
C++: MK_I32 sq3lite.Changes() → C-API Count The Number Of Rows Modified …
MK_I32 TotalChanges()
C++: MK_I32 sq3lite.TotalChanges() → C-API Total Number Of Rows Modified …
Sq3LiteC(MK_STRN filename, Sq3OpenEF flags=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE, MK_STRN zVfs=NULL)
C++: [constructor,static] Sq3LiteC* Sq3LiteC::OpenV2(MK_STRN filename, Sq3OpenEF flags = SQ3_OPEN_REA...
static Sq3LiteC * OpenV2(MK_STRN filename, Sq3OpenEF flags=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE, MK_STRN zVfs=NULL)
C++: [constructor,static] Sq3LiteC* Sq3LiteC::OpenV2(MK_STRN filename, Sq3OpenEF flags = SQ3_OPEN_REA...
Sq3StmtC * PrepareV2(const std::string &zSql)
C++: [constructor] Sq3StmtC* db.PrepareV2(const std::string& zSql) → C-API Compiling An SQL St...
Sq3LiteC(const std::string &filename, Sq3OpenEF flags=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE, MK_STRN zVfs=NULL)
C++: [constructor,static] Sq3LiteC* Sq3LiteC::OpenV2(MK_STRN filename, Sq3OpenEF flags = SQ3_OPEN_REA...
void CloseV2()
C++: [destructor] sq3lite.CloseV2() → C-API Closing A Database Connection …
Sq3DbStatusE
Status Parameters for database connections.
Sq3DeSerializeEF
Flags for sqlite3_deserialize()
Sq3LimitE
Run-Time Limit Categories.
Sq3OpenEF
Flags For File Open Operations.
Sq3ExtendetResultCodesE
Extended Result Codes.
Sq3SerializeE
Flags for sqlite3_serialize.
std::pair< MK_SIZE, MK_BINN > MK_BNP
namespace for the CcSq3Lite "C++"-API
void(* Sq3LiteExecV2SCB)(const MkBufferListC &vals, const MkBufferListC &cols)
static callback fired at Sq3LiteExec …
void(* Sq3LiteExecSCB)(const std::vector< std::string > &vals, const std::vector< std::string > &cols)
static callback fired at Sq3LiteExec …
Struct to represent the data of the Sq3LiteC … → C-API: libsq3lite::Sq3LiteS
infrastructur to use the CcLcConfig specific callback …
Struct to represent the data of the Sq3LiteC …