theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_Misc_ATL_API

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

+ Collaboration diagram for Sq3StmtC_Misc_ATL_API:

Functions

static OT_ProcRet atlsq3lite_Sq3StmtC_NextStmt (OtClass_ARGS)
  Atl: (static) Sq3StmtC [Sq3StmtC::NextStmt pDb:Sq3LiteC ?pStmt:Sq3StmtC=NULL?] C-API
Find the next prepared statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_ClearBindings (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::ClearBindings $sq3stmt C-API
Reset All Bindings On A Prepared Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Explain (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::Explain $pStmt eMode:int32 C-API
Change The EXPLAIN Setting For A Prepared Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Reset (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::Reset $pStmt C-API
Reset A Prepared Statement Object …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_Step (Sq3StmtC_ARGS)
  Atl: Sq3ErrorE [Sq3StmtC::Step $sq3stmt] C-API
Evaluate An SQL Statement …
 

Detailed Description

Sq3StmtC - various functions to perform misc operations …

Function Documentation

◆ atlsq3lite_Sq3StmtC_ClearBindings()

static OT_ProcRet atlsq3lite_Sq3StmtC_ClearBindings ( Sq3StmtC_ARGS )
static

Atl: Sq3StmtC::ClearBindings $sq3stmt C-API
Reset All Bindings On A Prepared Statement …

Definition at line 773 of file Sq3StmtC_atl.c.

773 {
779 goto end;
780 error:
782 end:
784}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
#define ClearBindings_doc
static enum MkErrorE Sq3StmtClearBindings(SQ3_STMT sq3stmt)
Reset All Bindings On A Prepared Statement …

◆ atlsq3lite_Sq3StmtC_Explain()

static OT_ProcRet atlsq3lite_Sq3StmtC_Explain ( Sq3StmtC_ARGS )
static

Atl: Sq3StmtC::Explain $pStmt eMode:int32 C-API
Change The EXPLAIN Setting For A Prepared Statement …

Definition at line 787 of file Sq3StmtC_atl.c.

787 {
790 MK_I32 eMode = 0;
793 MkErrorC_Check(hdl,Sq3StmtExplain (hdl, eMode));
795 goto end;
796 error:
798 end:
800}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI4(val)
#define OT_CHECK_REQUIRED(val)
#define Explain_doc
signed int MK_I32
static enum MkErrorE Sq3StmtExplain(SQ3_STMT pStmt, MK_I32 eMode)
Change The EXPLAIN Setting For A Prepared Statement …

◆ atlsq3lite_Sq3StmtC_NextStmt()

static OT_ProcRet atlsq3lite_Sq3StmtC_NextStmt ( OtClass_ARGS )
static

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

Definition at line 753 of file Sq3StmtC_atl.c.

753 {
756 SQ3_LITE pDb = 0;
758 SQ3_STMT pStmt = NULL;
761 SQ3_STMT retVal = Sq3StmtNextStmt (pDb, pStmt);
762 OT_retObj_SET_STMT(retVal);
763 goto end;
764 error:
766 end:
768}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_OPTIONAL(val)
#define OT_retObj_SET_STMT(nat)
#define OT_SETUP_hdl_static
#define NextStmt_doc
#define MK_NULL_NO
#define MK_NULL_YES
static SQ3_STMT Sq3StmtNextStmt(SQ3_LITE pDb, SQ3_STMT pStmt)
Find the next prepared statement …
#define OT_CHECK_LITE(val, nullB)
#define OT_CHECK_STMT(val, nullB)
Struct to represent the data of the Sq3LiteC …
Struct to represent the data of the Sq3StmtC …

◆ atlsq3lite_Sq3StmtC_Reset()

static OT_ProcRet atlsq3lite_Sq3StmtC_Reset ( Sq3StmtC_ARGS )
static

Atl: Sq3StmtC::Reset $pStmt C-API
Reset A Prepared Statement Object …

Definition at line 803 of file Sq3StmtC_atl.c.

803 {
807 MkErrorC_Check(hdl,Sq3StmtReset (hdl));
809 goto end;
810 error:
812 end:
814}
#define Reset_doc
static enum MkErrorE Sq3StmtReset(SQ3_STMT pStmt)
Reset A Prepared Statement Object …

◆ atlsq3lite_Sq3StmtC_Step()

static OT_ProcRet atlsq3lite_Sq3StmtC_Step ( Sq3StmtC_ARGS )
static

Atl: Sq3ErrorE [Sq3StmtC::Step $sq3stmt] C-API
Evaluate An SQL Statement …

Definition at line 819 of file Sq3StmtC_atl.c.

819 {
823 enum Sq3ErrorE retCode;
824 MkErrorC_Check(hdl,Sq3StmtStep (hdl, &retCode));
825 OT_retObj_SET(OT_NEW_Sq3_enum_OBJ(ErrorE,retCode));
826 goto end;
827 error:
829 end:
831}
#define OT_retObj_SET(val)
#define OT_NEW_Sq3_enum_OBJ(typ, val)
#define Step_doc
Sq3ErrorE
Result Codes.
static enum MkErrorE Sq3StmtStep(SQ3_STMT sq3stmt, enum Sq3ErrorE *retCode)
Evaluate An SQL Statement …