39 MkErrorC_Check(sq3stmt, errVal);
46 MkErrorC_Check(sq3stmt, errVal);
53 MkErrorC_Check(sq3stmt, errVal);
60 MkErrorC_Check(sq3stmt, errVal);
67 MkErrorC_Check(sq3stmt, errVal);
74 MkErrorC_Check(sq3stmt, errVal);
81 MkErrorC_Check(sq3stmt, errVal);
87 const MK_STRN zName_hdl = zName.c_str();
89 MkErrorC_Check(sq3stmt, errVal);
104 MkErrorC_Check(sq3stmt, errVal);
112 MkErrorC_Check(sq3stmt, errVal);
120 MkErrorC_Check(sq3stmt, errVal);
127 MkErrorC_Check(sq3stmt, errVal);
134 MkErrorC_Check(sq3stmt, errVal);
308 MkErrorC_Check(sq3stmt, errVal);
315 MkErrorC_Check(pStmt, errVal);
322 MkErrorC_Check(pStmt, errVal);
333 MkErrorC_Check(pStmt, errVal);
340 MkErrorC_Check(sq3stmt, errVal);
376 MkErrorC_Check(sq3stmt, errVal);
383 MkErrorC_Check(pStmt, errVal);
390 MkErrorC_Check(pStmt, errVal);
400 MkErrorC_Check(sq3stmt, errVal);
444 inline MK_OBJ Sq3StmtC::CTOR (
Sq3LiteC* db,
const std::string& zSql) {
450 MkErrorC_Check(NULL, errVal);
461 MkErrorC_Check(NULL, errVal);
462 return Sq3StmtC::Sq3StmtC_ObjCreate(
MK_RT_CALL ppStmt);
472 MkErrorC_Check(NULL, errVal);
473 return Sq3StmtC::Sq3StmtC_ObjCreate(
MK_RT_CALL ppStmt);
482 MkErrorC_Check(pStmt, errVal);
Struct to represent the data of the Sq3LiteC … → C-API: libsq3lite::Sq3LiteS
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 MkBinaryR MkBinaryCreate(MK_SIZE size, MK_BINN data)
static MK_SIZE MkBinaryGetSize(const MkBinaryR bin)
static MK_BINN MkBinaryGetData(const MkBinaryR bin)
static MkStringR MkStringCreate(MK_NUM len, MK_STRN str)
static MK_NUM MkStringGetSize(MkStringR const str)
static MK_STRN MkStringGetData(MkStringR const str)
static Sq3LiteC * Sq3LiteC_ObjNew(MK_RT_ARGS SQ3_LITE hdl)
return Sq3LiteC from LibMsgqueObject
SQ3_LITE getLITE() const
return the LibMsgqueObject from current Sq3LiteC instance
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 enum MkErrorE Sq3StmtBindZeroblob(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 n)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindInt64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindZeroblob64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …
static MK_STRN Sq3StmtBindParameterName(SQ3_STMT sq3stmt, MK_I32 arg1)
Name Of A Host Parameter …
static enum MkErrorE Sq3StmtBindInt(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 arg2)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindNull(SQ3_STMT sq3stmt, MK_I32 arg1)
Binding Values To Prepared Statements …
#define Sq3StmtBindText(...)
static enum MkErrorE Sq3StmtBindDouble(SQ3_STMT sq3stmt, MK_I32 arg1, MK_DBL arg2)
Binding Values To Prepared Statements …
#define Sq3StmtBindBlob(...)
static enum MkErrorE Sq3StmtBindParameterCount(SQ3_STMT sq3stmt)
Number Of SQL Parameters …
static enum MkErrorE Sq3StmtBindValue(SQ3_STMT sq3stmt, MK_I32 arg1, SQ3_VALN arg2)
Binding Values To Prepared Statements …
static enum MkErrorE Sq3StmtBindParameterIndex(SQ3_STMT sq3stmt, MK_STRN zName)
Index Of A Parameter With A Given Name …
SQ3_STMT getSTMT() const
return the LibMsgqueObject from current Sq3StmtC instance
SQ3_STMT getSTMT__null_allow() const
return the LibMsgqueObject from current Sq3StmtC instance
static Sq3StmtC * Sq3StmtC_ObjNew(MK_RT_ARGS SQ3_STMT hdl)
return Sq3StmtC from LibMsgqueObject
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
static SQ3_STMT Sq3StmtGetNull(void)
Null-Slot - return a Sq3StmtC typed NULL instance …
#define Sq3StmtHandleResolve(...)
static SQ3_STMT Sq3StmtPrev(SQ3_STMT const stmt)
get previous instance from linked-list of Sq3StmtS type
#define Sq3StmtInstances()
static SQ3_STMT Sq3StmtNext(SQ3_STMT const stmt)
get next instance from linked-list of Sq3StmtS type
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 …
static enum Sq3TypeE Sq3StmtColumnType(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MkBinaryR Sq3StmtColumnBlob(SQ3_STMT sq3stmt, MK_I32 iCol)
Result a MkBinaryR Value From A Query.
static MK_I32 Sq3StmtColumnInt(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static SQ3_VAL Sq3StmtColumnValue(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MK_I32 Sq3StmtColumnCount(SQ3_STMT pStmt)
Number Of Columns In A Result Set …
static MK_STRN Sq3StmtColumnName(SQ3_STMT sq3stmt, MK_I32 N)
Column Names In A Result Set …
static MK_I64 Sq3StmtColumnInt64(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MK_DBL Sq3StmtColumnDouble(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
static MkStringR Sq3StmtColumnText(SQ3_STMT sq3stmt, MK_I32 iCol)
Result a MkStringR Value From A Query.
static MK_I32 Sq3StmtColumnBytes(SQ3_STMT sq3stmt, MK_I32 iCol)
Result Values From A Query …
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 …
static enum MkErrorE Sq3StmtBusy(SQ3_STMT sq3stmt)
Determine If A Prepared Statement Has Been Reset …
static SQ3_LITE Sq3StmtDbHandle(SQ3_STMT sq3stmt)
Find The Database Handle Of A Prepared Statement …
static enum MkErrorE Sq3StmtStatus(SQ3_STMT sq3stmt, enum Sq3StmtStatusE op, MK_BOOL resetFlg)
Prepared Statement Status …
static enum MkErrorE Sq3StmtDataCount(SQ3_STMT pStmt)
Number of columns in a result set …
static enum MkErrorE Sq3StmtIsExplain(SQ3_STMT pStmt)
Query The EXPLAIN Setting For A Prepared Statement …
static enum MkErrorE Sq3StmtReadonly(SQ3_STMT pStmt)
Determine If An SQL Statement Writes The Database …
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...
static enum MkErrorE Sq3StmtReset(SQ3_STMT pStmt)
Reset A Prepared Statement Object …
static enum MkErrorE Sq3StmtStep(SQ3_STMT sq3stmt, enum Sq3ErrorE *retCode)
Evaluate An SQL Statement …
static enum MkErrorE Sq3StmtClearBindings(SQ3_STMT sq3stmt)
Reset All Bindings On A Prepared Statement …
static SQ3_STMT Sq3StmtNextStmt(SQ3_LITE pDb, SQ3_STMT pStmt)
Find the next prepared statement …
static enum MkErrorE Sq3StmtExplain(SQ3_STMT pStmt, MK_I32 eMode)
Change The EXPLAIN Setting For A Prepared Statement …
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 MK_STRN Sq3StmtSql(SQ3_STMT pStmt)
Retrieving Statement SQL …
static MK_STRN Sq3StmtGetPzTail(SQ3_STMT sq3stmt)
return the non compiled sql-statement from Sq3StmtPrepareV2 and Sq3StmtPrepareV3 …
static MK_STR Sq3StmtExpandedSql(SQ3_STMT pStmt)
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 …
static enum MkErrorE Sq3StmtFinalize(SQ3_STMT pStmt)
Destroy A Prepared Statement Object …
static enum MkErrorE Sq3StmtPrepareV3(SQ3_LITE db, MkStringR zSql, Sq3PrepareEF prepFlags, SQ3_STMT *ppStmt)
Compiling An SQL Statement …
static enum MkErrorE Sq3StmtPrepareV2(SQ3_LITE db, MkStringR zSql, SQ3_STMT *ppStmt)
Compiling An SQL Statement …
static Sq3ValueC * Sq3ValueC_ObjNew(MK_RT_ARGS SQ3_VAL hdl)
return Sq3ValueC from LibMsgqueObject
SQ3_VALN getVALN() const
(const) return the LibMsgqueObject from current Sq3ValueC instance
std::pair< MK_SIZE, MK_BINN > MK_BNP
namespace for the CcSq3Lite "C++"-API
Struct to represent the data of the Sq3LiteC …
Struct to represent the data of the Sq3StmtC …
Struct to represent the data of the Sq3ValueC …