theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_Misc_TCL_API

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

+ Collaboration diagram for Sq3StmtC_Misc_TCL_API:

Functions

static OT_ProcRet tclsq3lite_Sq3StmtC_NextStmt (OtClass_ARGS)
  Tcl: (static) Sq3StmtC [Sq3StmtC NextStmt pDb:Sq3LiteC ?pStmt:Sq3StmtC="MK_NULL"?] C-API
Find the next prepared statement …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_ClearBindings (Sq3StmtC_ARGS)
  Tcl: $sq3stmt ClearBindings C-API
Reset All Bindings On A Prepared Statement …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_Explain (Sq3StmtC_ARGS)
  Tcl: $pStmt Explain eMode:int32 C-API
Change The EXPLAIN Setting For A Prepared Statement …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_Reset (Sq3StmtC_ARGS)
  Tcl: $pStmt Reset C-API
Reset A Prepared Statement Object …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_Step (Sq3StmtC_ARGS)
  Tcl: Sq3ErrorE [$sq3stmt Step] C-API
Evaluate An SQL Statement …
 

Detailed Description

Sq3StmtC - various functions to perform misc operations …

Function Documentation

◆ tclsq3lite_Sq3StmtC_ClearBindings()

static OT_ProcRet tclsq3lite_Sq3StmtC_ClearBindings ( Sq3StmtC_ARGS )
static

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

Definition at line 794 of file Sq3StmtC_tcl.c.

794 {
800 goto end;
801 error:
803 end:
805}
#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 …

◆ tclsq3lite_Sq3StmtC_Explain()

static OT_ProcRet tclsq3lite_Sq3StmtC_Explain ( Sq3StmtC_ARGS )
static

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

Definition at line 808 of file Sq3StmtC_tcl.c.

808 {
811 MK_I32 eMode = 0;
814 MkErrorC_Check(hdl,Sq3StmtExplain (hdl, eMode));
816 goto end;
817 error:
819 end:
821}
#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 …

◆ tclsq3lite_Sq3StmtC_NextStmt()

static OT_ProcRet tclsq3lite_Sq3StmtC_NextStmt ( OtClass_ARGS )
static

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

Definition at line 774 of file Sq3StmtC_tcl.c.

774 {
777 SQ3_LITE pDb = 0;
779 SQ3_STMT pStmt = NULL;
782 SQ3_STMT retVal = Sq3StmtNextStmt (pDb, pStmt);
783 OT_retObj_SET_STMT(retVal);
784 goto end;
785 error:
787 end:
789}
#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 …

◆ tclsq3lite_Sq3StmtC_Reset()

static OT_ProcRet tclsq3lite_Sq3StmtC_Reset ( Sq3StmtC_ARGS )
static

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

Definition at line 824 of file Sq3StmtC_tcl.c.

824 {
828 MkErrorC_Check(hdl,Sq3StmtReset (hdl));
830 goto end;
831 error:
833 end:
835}
#define Reset_doc
static enum MkErrorE Sq3StmtReset(SQ3_STMT pStmt)
Reset A Prepared Statement Object …

◆ tclsq3lite_Sq3StmtC_Step()

static OT_ProcRet tclsq3lite_Sq3StmtC_Step ( Sq3StmtC_ARGS )
static

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

Definition at line 840 of file Sq3StmtC_tcl.c.

840 {
844 enum Sq3ErrorE retCode;
845 MkErrorC_Check(hdl,Sq3StmtStep (hdl, &retCode));
846 OT_retObj_SET(OT_NEW_Sq3_enum_OBJ(ErrorE,retCode));
847 goto end;
848 error:
850 end:
852}
#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 …