theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_Misc_PY_API

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

+ Collaboration diagram for Sq3StmtC_Misc_PY_API:

Functions

static OT_ProcRet pysq3lite_Sq3StmtC_NextStmt (OtClass_ARGS)
  Python: [static] Sq3StmtC Sq3StmtC.NextStmt(pDb:Sq3LiteC, ?pStmt:Sq3StmtC=None?) C-API
Find the next prepared statement …
 
static OT_ProcRet pysq3lite_Sq3StmtC_ClearBindings (Sq3StmtC_ARGS)
  Python: sq3stmt.ClearBindings() C-API
Reset All Bindings On A Prepared Statement …
 
static OT_ProcRet pysq3lite_Sq3StmtC_Explain (Sq3StmtC_ARGS)
  Python: pStmt.Explain(eMode:int32) C-API
Change The EXPLAIN Setting For A Prepared Statement …
 
static OT_ProcRet pysq3lite_Sq3StmtC_Reset (Sq3StmtC_ARGS)
  Python: pStmt.Reset() C-API
Reset A Prepared Statement Object …
 
static OT_ProcRet pysq3lite_Sq3StmtC_Step (Sq3StmtC_ARGS)
  Python: Sq3ErrorE sq3stmt.Step() C-API
Evaluate An SQL Statement …
 

Detailed Description

Sq3StmtC - various functions to perform misc operations …

Function Documentation

◆ pysq3lite_Sq3StmtC_ClearBindings()

static OT_ProcRet pysq3lite_Sq3StmtC_ClearBindings ( Sq3StmtC_ARGS )
static

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

Definition at line 780 of file Sq3StmtC_py.c.

780 {
786 goto end;
787 error:
789 end:
791}
#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
Definition Sq3StmtC_py.c:23
#define ClearBindings_doc
static enum MkErrorE Sq3StmtClearBindings(SQ3_STMT sq3stmt)
Reset All Bindings On A Prepared Statement …

◆ pysq3lite_Sq3StmtC_Explain()

static OT_ProcRet pysq3lite_Sq3StmtC_Explain ( Sq3StmtC_ARGS )
static

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

Definition at line 794 of file Sq3StmtC_py.c.

794 {
797 MK_I32 eMode = 0;
800 MkErrorC_Check(hdl,Sq3StmtExplain (hdl, eMode));
802 goto end;
803 error:
805 end:
807}
#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 …

◆ pysq3lite_Sq3StmtC_NextStmt()

static OT_ProcRet pysq3lite_Sq3StmtC_NextStmt ( OtClass_ARGS )
static

Python: [static] Sq3StmtC Sq3StmtC.NextStmt(pDb:Sq3LiteC, ?pStmt:Sq3StmtC=None?) C-API
Find the next prepared statement …

Definition at line 760 of file Sq3StmtC_py.c.

760 {
763 SQ3_LITE pDb = 0;
765 SQ3_STMT pStmt = NULL;
768 SQ3_STMT retVal = Sq3StmtNextStmt (pDb, pStmt);
769 OT_retObj_SET_STMT(retVal);
770 goto end;
771 error:
773 end:
775}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_OPTIONAL(val)
#define OT_retObj_SET_STMT(nat)
#define OT_SETUP_hdl_static
Definition Sq3StmtC_py.c:28
#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 …

◆ pysq3lite_Sq3StmtC_Reset()

static OT_ProcRet pysq3lite_Sq3StmtC_Reset ( Sq3StmtC_ARGS )
static

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

Definition at line 810 of file Sq3StmtC_py.c.

810 {
814 MkErrorC_Check(hdl,Sq3StmtReset (hdl));
816 goto end;
817 error:
819 end:
821}
#define Reset_doc
static enum MkErrorE Sq3StmtReset(SQ3_STMT pStmt)
Reset A Prepared Statement Object …

◆ pysq3lite_Sq3StmtC_Step()

static OT_ProcRet pysq3lite_Sq3StmtC_Step ( Sq3StmtC_ARGS )
static

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

Definition at line 826 of file Sq3StmtC_py.c.

826 {
830 enum Sq3ErrorE retCode;
831 MkErrorC_Check(hdl,Sq3StmtStep (hdl, &retCode));
832 OT_retObj_SET(OT_NEW_Sq3_enum_OBJ(ErrorE,retCode));
833 goto end;
834 error:
836 end:
838}
#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 …