theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_Misc_CC_API

Sq3StmtC - various functions to perform misc operations … More...

+ Collaboration diagram for Sq3StmtC_Misc_CC_API:

Functions

static Sq3StmtCccsq3lite::Sq3StmtC::NextStmt (Sq3LiteC *pDb, Sq3StmtC *pStmt=NULL)
  C++: [static] Sq3StmtC* Sq3StmtC::NextStmt(Sq3LiteC* pDb, Sq3StmtC* pStmt = NULL) C-API
Find the next prepared statement …
 
static Sq3StmtCccsq3lite::Sq3StmtC::NextStmt (const Sq3LiteC &pDb, const Sq3StmtC &pStmt)
  C++: [static] Sq3StmtC* Sq3StmtC::NextStmt(Sq3LiteC* pDb, Sq3StmtC* pStmt = NULL) C-API
Find the next prepared statement …
 
void ccsq3lite::Sq3StmtC::ClearBindings ()
  C++: sq3stmt.ClearBindings() C-API
Reset All Bindings On A Prepared Statement …
 
void ccsq3lite::Sq3StmtC::Explain (MK_I32 eMode)
  C++: pStmt.Explain(MK_I32 eMode) C-API
Change The EXPLAIN Setting For A Prepared Statement …
 
void ccsq3lite::Sq3StmtC::Reset ()
  C++: pStmt.Reset() C-API
Reset A Prepared Statement Object …
 
Sq3ErrorE ccsq3lite::Sq3StmtC::Step ()
  C++: Sq3ErrorE sq3stmt.Step() C-API
Evaluate An SQL Statement …
 

Detailed Description

Sq3StmtC - various functions to perform misc operations …

Function Documentation

◆ ClearBindings()

void ccsq3lite::Sq3StmtC::ClearBindings ( )
inline

C++: sq3stmt.ClearBindings() C-API
Reset All Bindings On A Prepared Statement …

Definition at line 373 of file Sq3StmtC_inline_cc.hh.

373 {
374 MK_UNUSED auto sq3stmt = getSTMT();
375 enum MkErrorE errVal = Sq3StmtClearBindings(sq3stmt);
376 MkErrorC_Check(sq3stmt, errVal);
377 }
#define MK_UNUSED
SQ3_STMT getSTMT() const
return the LibMsgqueObject from current Sq3StmtC instance
static enum MkErrorE Sq3StmtClearBindings(SQ3_STMT sq3stmt)
Reset All Bindings On A Prepared Statement …

◆ Explain()

void ccsq3lite::Sq3StmtC::Explain ( MK_I32 eMode)
inline

C++: pStmt.Explain(MK_I32 eMode) C-API
Change The EXPLAIN Setting For A Prepared Statement …

Definition at line 380 of file Sq3StmtC_inline_cc.hh.

380 {
381 MK_UNUSED auto pStmt = getSTMT();
382 enum MkErrorE errVal = Sq3StmtExplain(pStmt, eMode);
383 MkErrorC_Check(pStmt, errVal);
384 }
static enum MkErrorE Sq3StmtExplain(SQ3_STMT pStmt, MK_I32 eMode)
Change The EXPLAIN Setting For A Prepared Statement …

◆ NextStmt() [1/2]

Sq3StmtC * ccsq3lite::Sq3StmtC::NextStmt ( const Sq3LiteC & pDb,
const Sq3StmtC & pStmt )
inlinestatic

C++: [static] Sq3StmtC* Sq3StmtC::NextStmt(Sq3LiteC* pDb, Sq3StmtC* pStmt = NULL) C-API
Find the next prepared statement …

Definition at line 362 of file Sq3StmtC_inline_cc.hh.

362 {
364 const SQ3_LITE pDb_hdl = Sq3LiteC::getLITE(pDb);
365 const SQ3_STMT pStmt_hdl = Sq3StmtC::getSTMT(pStmt);
366 SQ3_STMT __retVal__L = Sq3StmtNextStmt(pDb_hdl, pStmt_hdl);
367 return Sq3StmtC::Sq3StmtC_ObjNew(MK_RT_CALL __retVal__L);
368 }
#define MK_RT_CALL
#define MkRtSetup_NULL
SQ3_LITE getLITE() const
return the LibMsgqueObject from current Sq3LiteC instance
struct Sq3LiteS * SQ3_LITE
class-shortcut for struct Sq3LiteS *, all shortcut using the XX_YYY syntax (only for public API) …
static Sq3StmtC * Sq3StmtC_ObjNew(MK_RT_ARGS SQ3_STMT hdl)
return Sq3StmtC from LibMsgqueObject
struct Sq3StmtS * SQ3_STMT
class-shortcut for struct Sq3StmtS *, all shortcut using the XX_YYY syntax (only for public API) …
static SQ3_STMT Sq3StmtNextStmt(SQ3_LITE pDb, SQ3_STMT pStmt)
Find the next prepared statement …

◆ NextStmt() [2/2]

Sq3StmtC * ccsq3lite::Sq3StmtC::NextStmt ( Sq3LiteC * pDb,
Sq3StmtC * pStmt = NULL )
inlinestatic

C++: [static] Sq3StmtC* Sq3StmtC::NextStmt(Sq3LiteC* pDb, Sq3StmtC* pStmt = NULL) C-API
Find the next prepared statement …

Definition at line 353 of file Sq3StmtC_inline_cc.hh.

353 {
355 SQ3_LITE pDb_hdl = Sq3LiteC::getLITE(pDb);
356 SQ3_STMT pStmt_hdl = Sq3StmtC::getSTMT__null_allow(pStmt);
357 SQ3_STMT __retVal__L = Sq3StmtNextStmt(pDb_hdl, pStmt_hdl);
358 return Sq3StmtC::Sq3StmtC_ObjNew(MK_RT_CALL __retVal__L);
359 }
SQ3_STMT getSTMT__null_allow() const
return the LibMsgqueObject from current Sq3StmtC instance

◆ Reset()

void ccsq3lite::Sq3StmtC::Reset ( )
inline

C++: pStmt.Reset() C-API
Reset A Prepared Statement Object …

Definition at line 387 of file Sq3StmtC_inline_cc.hh.

387 {
388 MK_UNUSED auto pStmt = getSTMT();
389 enum MkErrorE errVal = Sq3StmtReset(pStmt);
390 MkErrorC_Check(pStmt, errVal);
391 }
static enum MkErrorE Sq3StmtReset(SQ3_STMT pStmt)
Reset A Prepared Statement Object …

◆ Step()

Sq3ErrorE ccsq3lite::Sq3StmtC::Step ( )
inline

C++: Sq3ErrorE sq3stmt.Step() C-API
Evaluate An SQL Statement …

Definition at line 396 of file Sq3StmtC_inline_cc.hh.

396 {
397 MK_UNUSED auto sq3stmt = getSTMT();
398 enum Sq3ErrorE retCode;
399 enum MkErrorE errVal = Sq3StmtStep(sq3stmt, &retCode);
400 MkErrorC_Check(sq3stmt, errVal);
401 return retCode;
402 }
Sq3ErrorE
Result Codes.
static enum MkErrorE Sq3StmtStep(SQ3_STMT sq3stmt, enum Sq3ErrorE *retCode)
Evaluate An SQL Statement …