theSq3Lite 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib - theATL
c - tcl - atl - cs - py - rb - jv - cc
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 783 of file Sq3StmtC_py.c.

783 {
789 goto end;
790 error:
792 end:
794}
#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:26
#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 797 of file Sq3StmtC_py.c.

797 {
800 MK_I32 eMode = 0;
803 MkErrorC_Check(hdl,Sq3StmtExplain (hdl, eMode));
805 goto end;
806 error:
808 end:
810}
#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 763 of file Sq3StmtC_py.c.

763 {
766 SQ3_LITE pDb = 0;
768 SQ3_STMT pStmt = NULL;
771 SQ3_STMT retVal = Sq3StmtNextStmt (pDb, pStmt);
772 OT_retObj_SET_STMT(retVal);
773 goto end;
774 error:
776 end:
778}
#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:31
#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 813 of file Sq3StmtC_py.c.

813 {
817 MkErrorC_Check(hdl,Sq3StmtReset (hdl));
819 goto end;
820 error:
822 end:
824}
#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 829 of file Sq3StmtC_py.c.

829 {
833 enum Sq3ErrorE retCode;
834 MkErrorC_Check(hdl,Sq3StmtStep (hdl, &retCode));
835 OT_retObj_SET(OT_NEW_Sq3_enum_OBJ(ErrorE,retCode));
836 goto end;
837 error:
839 end:
841}
#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 …