28 static inline MK_PTR Sq3StmtC_selfCreateTLS (
MK_OBJ obj);
44 #ifdef Sq3StmtC_selfCreate_overload
53 delete static_cast<Sq3StmtC*
>(self);
57 Sq3StmtC* selfO =
static_cast<Sq3StmtC*
>(self);
68#ifndef META_IS_MkObjectC
74#ifndef META_IS_MkObjectC
86 if (
unlikely(ret == NULL)) InstHdlIsNullError();
98 if (
unlikely(ret == NULL)) InstHdlIsNullError();
116 return clsHdl ?
reinterpret_cast<SQ3_STMT>(clsHdl->
hdl) : NULL;
128 return clsHdl ?
reinterpret_cast<SQ3_STMTN>(clsHdl->
hdl) : NULL;
Struct to represent the data of the Sq3LiteC … → C-API: libsq3lite::Sq3LiteS
Sq3Lite PACKAGE - toplevel package of the Programming-Language-Micro-Kernel (PLMK) …
Struct to represent the data of the Sq3StmtC … → C-API: libsq3lite::Sq3StmtS
Struct to represent the data of the Sq3ValueC … → C-API: libsq3lite::Sq3ValueS
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
Sq3TypeE
Fundamental Datatypes.
Sq3StmtStatusE
Status Parameters for prepared statements.
Sq3PrepareEF
Prepare Flags.
void BindText(MK_I32 pos, const std::string &text)
C++: sq3stmt.BindText(MK_I32 pos, const std::string& text) → C-API Bind a MkStringR Value To a ...
void BindValue(MK_I32 arg1, const Sq3ValueC *arg2)
C++: sq3stmt.BindValue(MK_I32 arg1, const Sq3ValueC* arg2) → C-API Binding Values To Prepared S...
void BindZeroblob(MK_I32 arg1, MK_I32 n)
C++: sq3stmt.BindZeroblob(MK_I32 arg1, MK_I32 n) → C-API Binding Values To Prepared Statements ...
void BindNull(MK_I32 arg1)
C++: sq3stmt.BindNull(MK_I32 arg1) → C-API Binding Values To Prepared Statements …
void BindDouble(MK_I32 arg1, MK_DBL arg2)
C++: sq3stmt.BindDouble(MK_I32 arg1, MK_DBL arg2) → C-API Binding Values To Prepared Statements...
MK_STRN BindParameterName(MK_I32 arg1)
C++: MK_STRN sq3stmt.BindParameterName(MK_I32 arg1) → C-API Name Of A Host Parameter …
void BindParameterIndex(MK_STRN zName)
C++: sq3stmt.BindParameterIndex(MK_STRN zName) → C-API Index Of A Parameter With A Given Name …
void BindInt(MK_I32 arg1, MK_I32 arg2)
C++: sq3stmt.BindInt(MK_I32 arg1, MK_I32 arg2) → C-API Binding Values To Prepared Statements …
void BindParameterCount()
C++: sq3stmt.BindParameterCount() → C-API Number Of SQL Parameters …
void BindZeroblob64(MK_I32 arg1, MK_I64 arg2)
C++: sq3stmt.BindZeroblob64(MK_I32 arg1, MK_I64 arg2) → C-API Binding Values To Prepared Statem...
void BindBlob(MK_I32 pos, MK_BNP blob)
C++: sq3stmt.BindBlob(MK_I32 pos, MK_BNP blob) → C-API Bind a MkBinaryR Value To a Prepared Sta...
void BindInt64(MK_I32 arg1, MK_I64 arg2)
C++: sq3stmt.BindInt64(MK_I32 arg1, MK_I64 arg2) → C-API Binding Values To Prepared Statements ...
static SQ3_STMT getSTMT(Sq3StmtC *clsHdl)
return LibMsgqueObject from current Sq3StmtC pointer
static SQ3_STMT getSTMT__null_allow(const Sq3StmtC &clsHdl)
return LibMsgqueObject from current Sq3StmtC reference
SQ3_STMT getSTMT() const
return the LibMsgqueObject from current Sq3StmtC instance
bool Check() const
check if pointer is still valid
SQ3_STMT getSTMT__null_allow() const
return the LibMsgqueObject from current Sq3StmtC instance
static SQ3_STMT getSTMT(const Sq3StmtC &clsHdl)
return LibMsgqueObject from current Sq3StmtC reference
static Sq3StmtC * Sq3StmtC_ObjNew(MK_RT_ARGS SQ3_STMT hdl)
return Sq3StmtC from LibMsgqueObject
static SQ3_STMTN getSTMTN__null_allow(const Sq3StmtC *clsHdl)
(const) return LibMsgqueObject from current Sq3StmtC pointer
static SQ3_STMTN getSTMTN__null_allow(const Sq3StmtC &clsHdl)
(const) return LibMsgqueObject from current Sq3StmtC reference
SQ3_STMTN getSTMTN() const
(const) return the LibMsgqueObject from current Sq3StmtC instance
static thread_local Sq3StmtC MK_NULL_REF
static SQ3_STMTN getSTMTN(const Sq3StmtC *clsHdl)
(const) return LibMsgqueObject from current Sq3StmtC pointer
static SQ3_STMTN getSTMTN(const Sq3StmtC &clsHdl)
(const) return LibMsgqueObject from current Sq3StmtC reference
SQ3_STMTN getSTMTN__null_allow() const
(const) return the LibMsgqueObject from current Sq3StmtC instance
static SQ3_STMT getSTMT__null_allow(Sq3StmtC *clsHdl)
return LibMsgqueObject from current Sq3StmtC pointer
Sq3StmtC * Next()
C++: Sq3StmtC* stmt.Next() → C-API get next instance from linked-list of Sq3StmtS type
static Sq3StmtC * HandleResolve(MK_HDL netHdl)
C++: [static] Sq3StmtC* Sq3StmtC::HandleResolve(MK_HDL netHdl) → C-API Handle-Resolve-Slot - ret...
static Sq3StmtC * GetNull()
C++: [static] Sq3StmtC* Sq3StmtC::GetNull() → C-API Null-Slot - return a Sq3StmtC typed NULL ins...
static Sq3StmtC * Instances()
C++: [static] Sq3StmtC* Sq3StmtC::Instances() → C-API get head-instance from linked-list of Sq3S...
Sq3StmtC * Prev()
C++: Sq3StmtC* stmt.Prev() → C-API get previous instance from linked-list of Sq3StmtS type
struct Sq3StmtS * SQ3_STMT
class-shortcut for struct Sq3StmtS *, all shortcut using the XX_YYY syntax (only for public API) …
static bool Sq3StmtCheck(MK_MNGN mng)
check Sq3StmtS -> libmkkernel::MkObjectS::signature …
#define Sq3StmtC_X2obj(x)
Sq3ValueC * ColumnValue(MK_I32 iCol)
C++: Sq3ValueC* sq3stmt.ColumnValue(MK_I32 iCol) → C-API Result Values From A Query …
std::string ColumnText(MK_I32 iCol)
C++: std::string sq3stmt.ColumnText(MK_I32 iCol) → C-API Result a MkStringR Value From A Query.
MK_BNP ColumnBlob(MK_I32 iCol)
C++: MK_BNP sq3stmt.ColumnBlob(MK_I32 iCol) → C-API Result a MkBinaryR Value From A Query.
Sq3TypeE ColumnType(MK_I32 iCol)
C++: Sq3TypeE sq3stmt.ColumnType(MK_I32 iCol) → C-API Result Values From A Query …
MK_STRN ColumnName(MK_I32 N)
C++: MK_STRN sq3stmt.ColumnName(MK_I32 N) → C-API Column Names In A Result Set …
MK_DBL ColumnDouble(MK_I32 iCol)
C++: MK_DBL sq3stmt.ColumnDouble(MK_I32 iCol) → C-API Result Values From A Query …
MK_I64 ColumnInt64(MK_I32 iCol)
C++: MK_I64 sq3stmt.ColumnInt64(MK_I32 iCol) → C-API Result Values From A Query …
MK_I32 ColumnBytes(MK_I32 iCol)
C++: MK_I32 sq3stmt.ColumnBytes(MK_I32 iCol) → C-API Result Values From A Query …
MK_I32 ColumnInt(MK_I32 iCol)
C++: MK_I32 sq3stmt.ColumnInt(MK_I32 iCol) → C-API Result Values From A Query …
MK_I32 ColumnCount()
C++: MK_I32 pStmt.ColumnCount() → C-API Number Of Columns In A Result Set …
void IsExplain()
C++: pStmt.IsExplain() → C-API Query The EXPLAIN Setting For A Prepared Statement …
void Status(Sq3StmtStatusE op, MK_BOOL resetFlg)
C++: sq3stmt.Status(Sq3StmtStatusE op, MK_BOOL resetFlg) → C-API Prepared Statement Status …
Sq3LiteC * DbHandle()
C++: Sq3LiteC* sq3stmt.DbHandle() → C-API Find The Database Handle Of A Prepared Statement …
void Readonly()
C++: pStmt.Readonly() → C-API Determine If An SQL Statement Writes The Database …
void Busy()
C++: sq3stmt.Busy() → C-API Determine If A Prepared Statement Has Been Reset …
void DataCount()
C++: pStmt.DataCount() → C-API Number of columns in a result set …
void Explain(MK_I32 eMode)
C++: pStmt.Explain(MK_I32 eMode) → C-API Change The EXPLAIN Setting For A Prepared Statement …
void Reset()
C++: pStmt.Reset() → C-API Reset A Prepared Statement Object …
Sq3ErrorE Step()
C++: Sq3ErrorE sq3stmt.Step() → C-API Evaluate An SQL Statement …
void ClearBindings()
C++: sq3stmt.ClearBindings() → C-API Reset All Bindings On A Prepared Statement …
static Sq3StmtC * NextStmt(Sq3LiteC *pDb, Sq3StmtC *pStmt=NULL)
C++: [static] Sq3StmtC* Sq3StmtC::NextStmt(Sq3LiteC* pDb, Sq3StmtC* pStmt = NULL) → C-API Find t...
MK_STRN GetPzTail()
C++: MK_STRN sq3stmt.GetPzTail() → C-API return the non compiled sql-statement from Sq3StmtPrep...
MK_STRN Sql()
C++: MK_STRN pStmt.Sql() → C-API Retrieving Statement SQL …
MK_STR ExpandedSql()
C++: MK_STR pStmt.ExpandedSql() → C-API Retrieving Statement SQL …
static Sq3StmtC * PrepareV3(Sq3LiteC *db, const std::string &zSql, Sq3PrepareEF prepFlags=SQ3_PREPARE_NO)
C++: [constructor,static] Sq3StmtC* Sq3StmtC::PrepareV3(Sq3LiteC* db, const std::string& zSql,...
static Sq3StmtC * PrepareV2(Sq3LiteC *db, const std::string &zSql)
C++: [constructor,static] Sq3StmtC* Sq3StmtC::PrepareV2(Sq3LiteC* db, const std::string& zSql) → C-A...
void Finalize()
C++: [destructor] pStmt.Finalize() → C-API Destroy A Prepared Statement Object …
Sq3StmtC(Sq3LiteC *db, const std::string &zSql)
C++: [constructor,static] Sq3StmtC* Sq3StmtC::PrepareV2(Sq3LiteC* db, const std::string& zSql) → C-A...
std::pair< MK_SIZE, MK_BINN > MK_BNP
namespace for the CcSq3Lite "C++"-API
Struct to represent the data of the Sq3StmtC … → C-API: libsq3lite::Sq3StmtS
Struct to represent the data of the Sq3StmtC …