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_TOR_TCL_API

Sq3StmtC - various functions to create, initialize and destroy … More...

+ Collaboration diagram for Sq3StmtC_TOR_TCL_API:

Functions

static OT_ProcRet tclsq3lite_Sq3StmtC_CTOR (CONSTR_ARGS)
  Tcl: (constructor,static) Sq3StmtC [Sq3StmtC CTOR db:Sq3LiteC zSql:string] C-API
Compiling An SQL Statement …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_PrepareV2 (OtClass_ARGS)
  Tcl: (constructor,static) Sq3StmtC [Sq3StmtC PrepareV2 db:Sq3LiteC zSql:string] C-API
Compiling An SQL Statement …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_PrepareV3 (OtClass_ARGS)
  Tcl: (constructor,static) Sq3StmtC [Sq3StmtC PrepareV3 db:Sq3LiteC zSql:string ?prepFlags:Sq3PrepareEF=SQ3_PREPARE_NO?] C-API
Compiling An SQL Statement …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_Finalize (Sq3StmtC_ARGS)
  Tcl: (destructor) $pStmt Finalize C-API
Destroy A Prepared Statement Object …
 

Detailed Description

Sq3StmtC - various functions to create, initialize and destroy …

Function Documentation

◆ tclsq3lite_Sq3StmtC_CTOR()

static OT_ProcRet tclsq3lite_Sq3StmtC_CTOR ( CONSTR_ARGS )
static

Tcl: (constructor,static) Sq3StmtC [Sq3StmtC CTOR db:Sq3LiteC zSql:string] C-API
Compiling An SQL Statement …

Definition at line 915 of file Sq3StmtC_tcl.c.

915 {
918 SQ3_LITE db = 0;
920 MkStringR zSql = {0};
922 SQ3_STMT ppStmt;
923 MkErrorC_Check(db,Sq3StmtPrepareV2 (db, zSql, &ppStmt));
924 OT_CONSTRUCTOR_POST(ppStmt)
925 OT_retObj_CONSTR(ppStmt);
926 goto end;
927 error:
929 end:
931}
#define OT_retObj_SET_Error
#define OT_CONSTRUCTOR_POST(x)
#define OT_CHECK_REQUIRED(val)
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_retObj_RETURN
#define OT_CHECK__ME_REF_MkStringR(val)
#define OT_retObj_CONSTR(x)
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl_constr
#define CTOR_doc
#define MK_NULL_NO
static enum MkErrorE Sq3StmtPrepareV2(SQ3_LITE db, MkStringR zSql, SQ3_STMT *ppStmt)
Compiling An SQL Statement …
#define OT_CHECK_LITE(val, nullB)
Struct to represent the data of the Sq3LiteC …
Struct to represent the data of the Sq3StmtC …

◆ tclsq3lite_Sq3StmtC_Finalize()

static OT_ProcRet tclsq3lite_Sq3StmtC_Finalize ( Sq3StmtC_ARGS )
static

Tcl: (destructor) $pStmt Finalize C-API
Destroy A Prepared Statement Object …

Definition at line 977 of file Sq3StmtC_tcl.c.

977 {
983 goto end;
984 error:
986 end:
988}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_None
#define OT_CHECK_NOARGS
#define Finalize_doc
#define OT_SETUP_hdl_destr
static enum MkErrorE Sq3StmtFinalize(SQ3_STMT pStmt)
Destroy A Prepared Statement Object …

◆ tclsq3lite_Sq3StmtC_PrepareV2()

static OT_ProcRet tclsq3lite_Sq3StmtC_PrepareV2 ( OtClass_ARGS )
static

Tcl: (constructor,static) Sq3StmtC [Sq3StmtC PrepareV2 db:Sq3LiteC zSql:string] C-API
Compiling An SQL Statement …

Definition at line 934 of file Sq3StmtC_tcl.c.

934 {
937 SQ3_LITE db = 0;
939 MkStringR zSql = {0};
942 SQ3_STMT ppStmt;
943 MkErrorC_Check(db,Sq3StmtPrepareV2 (db, zSql, &ppStmt));
944 OT_CONSTRUCTOR_POST(ppStmt)
945 OT_retObj_SET_STMT(ppStmt);
946 goto end;
947 error:
949 end:
951}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_STMT(nat)
#define OT_SETUP_hdl_static_constr
#define PrepareV2_doc

◆ tclsq3lite_Sq3StmtC_PrepareV3()

static OT_ProcRet tclsq3lite_Sq3StmtC_PrepareV3 ( OtClass_ARGS )
static

Tcl: (constructor,static) Sq3StmtC [Sq3StmtC PrepareV3 db:Sq3LiteC zSql:string ?prepFlags:Sq3PrepareEF=SQ3_PREPARE_NO?] C-API
Compiling An SQL Statement …

Definition at line 954 of file Sq3StmtC_tcl.c.

954 {
957 SQ3_LITE db = 0;
959 MkStringR zSql = {0};
961 enum Sq3PrepareEF prepFlags = SQ3_PREPARE_NO;
964 SQ3_STMT ppStmt;
965 MkErrorC_Check(db,Sq3StmtPrepareV3 (db, zSql, prepFlags, &ppStmt));
966 OT_retObj_SET_STMT(ppStmt);
967 goto end;
968 error:
970 end:
972}
#define OT_CHECK_ENUM(ename, val)
#define OT_CHECK_OPTIONAL(val)
#define PrepareV3_doc
Sq3PrepareEF
Prepare Flags.
@ SQ3_PREPARE_NO
static enum MkErrorE Sq3StmtPrepareV3(SQ3_LITE db, MkStringR zSql, Sq3PrepareEF prepFlags, SQ3_STMT *ppStmt)
Compiling An SQL Statement …