theSq3Lite 10.0
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 912 of file Sq3StmtC_tcl.c.

912 {
915 SQ3_LITE db = 0;
917 MkStringR zSql = {0};
919 SQ3_STMT ppStmt;
920 MkErrorC_Check(db,Sq3StmtPrepareV2 (db, zSql, &ppStmt));
921 OT_CONSTRUCTOR_POST(ppStmt)
922 OT_retObj_CONSTR(ppStmt);
923 goto end;
924 error:
926 end:
928}
#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 974 of file Sq3StmtC_tcl.c.

974 {
980 goto end;
981 error:
983 end:
985}
#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 931 of file Sq3StmtC_tcl.c.

931 {
934 SQ3_LITE db = 0;
936 MkStringR zSql = {0};
939 SQ3_STMT ppStmt;
940 MkErrorC_Check(db,Sq3StmtPrepareV2 (db, zSql, &ppStmt));
941 OT_CONSTRUCTOR_POST(ppStmt)
942 OT_retObj_SET_STMT(ppStmt);
943 goto end;
944 error:
946 end:
948}
#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 951 of file Sq3StmtC_tcl.c.

951 {
954 SQ3_LITE db = 0;
956 MkStringR zSql = {0};
958 enum Sq3PrepareEF prepFlags = SQ3_PREPARE_NO;
961 SQ3_STMT ppStmt;
962 MkErrorC_Check(db,Sq3StmtPrepareV3 (db, zSql, prepFlags, &ppStmt));
963 OT_retObj_SET_STMT(ppStmt);
964 goto end;
965 error:
967 end:
969}
#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 …