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_RB_API

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

+ Collaboration diagram for Sq3StmtC_Misc_RB_API:

Functions

static OT_ProcRet rbsq3lite_Sq3StmtC_NextStmt (OtClass_ARGS)
  Ruby: (static) Sq3StmtC Sq3StmtC.NextStmt(pDb:Sq3LiteC, ?pStmt:Sq3StmtC=nil?) C-API
Find the next prepared statement …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_ClearBindings (Sq3StmtC_ARGS)
  Ruby: sq3stmt.ClearBindings() C-API
Reset All Bindings On A Prepared Statement …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_Explain (Sq3StmtC_ARGS)
  Ruby: pStmt.Explain(eMode:int32) C-API
Change The EXPLAIN Setting For A Prepared Statement …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_Reset (Sq3StmtC_ARGS)
  Ruby: pStmt.Reset() C-API
Reset A Prepared Statement Object …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_Step (Sq3StmtC_ARGS)
  Ruby: Sq3ErrorE sq3stmt.Step() C-API
Evaluate An SQL Statement …
 

Detailed Description

Sq3StmtC - various functions to perform misc operations …

Function Documentation

◆ rbsq3lite_Sq3StmtC_ClearBindings()

static OT_ProcRet rbsq3lite_Sq3StmtC_ClearBindings ( Sq3StmtC_ARGS )
static

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

Definition at line 687 of file Sq3StmtC_rb.c.

687 {
693 end: MK_UNUSED /* LONG JUMP on error */
695}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
Definition Sq3StmtC_rb.c:90
#define ClearBindings_doc
#define MK_UNUSED
static enum MkErrorE Sq3StmtClearBindings(SQ3_STMT sq3stmt)
Reset All Bindings On A Prepared Statement …

◆ rbsq3lite_Sq3StmtC_Explain()

static OT_ProcRet rbsq3lite_Sq3StmtC_Explain ( Sq3StmtC_ARGS )
static

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

Definition at line 698 of file Sq3StmtC_rb.c.

698 {
701 MK_I32 eMode = 0;
704 MkErrorC_Check(hdl,Sq3StmtExplain (hdl, eMode));
706 end: MK_UNUSED /* LONG JUMP on error */
708}
#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 …

◆ rbsq3lite_Sq3StmtC_NextStmt()

static OT_ProcRet rbsq3lite_Sq3StmtC_NextStmt ( OtClass_ARGS )
static

Ruby: (static) Sq3StmtC Sq3StmtC.NextStmt(pDb:Sq3LiteC, ?pStmt:Sq3StmtC=nil?) C-API
Find the next prepared statement …

Definition at line 670 of file Sq3StmtC_rb.c.

670 {
673 SQ3_LITE pDb = 0;
675 SQ3_STMT pStmt = NULL;
678 SQ3_STMT retVal = Sq3StmtNextStmt (pDb, pStmt);
679 OT_retObj_SET_STMT(retVal);
680 end: MK_UNUSED /* LONG JUMP on error */
682}
#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_rb.c:96
#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 …

◆ rbsq3lite_Sq3StmtC_Reset()

static OT_ProcRet rbsq3lite_Sq3StmtC_Reset ( Sq3StmtC_ARGS )
static

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

Definition at line 711 of file Sq3StmtC_rb.c.

711 {
715 MkErrorC_Check(hdl,Sq3StmtReset (hdl));
717 end: MK_UNUSED /* LONG JUMP on error */
719}
#define Reset_doc
static enum MkErrorE Sq3StmtReset(SQ3_STMT pStmt)
Reset A Prepared Statement Object …

◆ rbsq3lite_Sq3StmtC_Step()

static OT_ProcRet rbsq3lite_Sq3StmtC_Step ( Sq3StmtC_ARGS )
static

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

Definition at line 724 of file Sq3StmtC_rb.c.

724 {
728 enum Sq3ErrorE retCode;
729 MkErrorC_Check(hdl,Sq3StmtStep (hdl, &retCode));
730 OT_retObj_SET(OT_NEW_Sq3_enum_OBJ(ErrorE,retCode));
731 end: MK_UNUSED /* LONG JUMP on error */
733}
#define OT_retObj_SET(val)
#define OT_NEW_Sq3_enum_OBJ(typ, i)
#define Step_doc
Sq3ErrorE
Result Codes.
static enum MkErrorE Sq3StmtStep(SQ3_STMT sq3stmt, enum Sq3ErrorE *retCode)
Evaluate An SQL Statement …