theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_TOR_PY_API

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

+ Collaboration diagram for Sq3StmtC_TOR_PY_API:

Functions

static OT_ProcRet pysq3lite_Sq3StmtC_PrepareV2 (OtClass_ARGS)
  Python: [constructor,static] Sq3StmtC Sq3StmtC.PrepareV2(db:Sq3LiteC, zSql:string) C-API
Compiling An SQL Statement …
 
static OT_ProcRet pysq3lite_Sq3StmtC_PrepareV3 (OtClass_ARGS)
  Python: [constructor,static] Sq3StmtC Sq3StmtC.PrepareV3(db:Sq3LiteC, zSql:string, ?prepFlags:Sq3PrepareEF=SQ3_PREPARE_NO?) C-API
Compiling An SQL Statement …
 
static OT_ProcRet pysq3lite_Sq3StmtC_new (CONSTR_ARGS)
  Python: [constructor,static] Sq3StmtC Sq3StmtC.new(db:Sq3LiteC, zSql:string) C-API
Compiling An SQL Statement …
 
static OT_ProcRet pysq3lite_Sq3StmtC_Finalize (Sq3StmtC_ARGS)
  Python: [destructor] pStmt.Finalize() C-API
Destroy A Prepared Statement Object …
 

Detailed Description

Sq3StmtC - various functions to create, initialize and destroy …

Function Documentation

◆ pysq3lite_Sq3StmtC_Finalize()

static OT_ProcRet pysq3lite_Sq3StmtC_Finalize ( Sq3StmtC_ARGS )
static

Python: [destructor] pStmt.Finalize() C-API
Destroy A Prepared Statement Object …

Definition at line 960 of file Sq3StmtC_py.c.

960 {
966 goto end;
967 error:
969 end:
971}
#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 Finalize_doc
#define OT_SETUP_hdl_destr
Definition Sq3StmtC_py.c:27
static enum MkErrorE Sq3StmtFinalize(SQ3_STMT pStmt)
Destroy A Prepared Statement Object …

◆ pysq3lite_Sq3StmtC_new()

static OT_ProcRet pysq3lite_Sq3StmtC_new ( CONSTR_ARGS )
static

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

Definition at line 939 of file Sq3StmtC_py.c.

939 {
942 SQ3_LITE db = 0;
944 MkStringR zSql = {0};
946 SQ3_STMT ppStmt;
947 MkErrorC_Check(db,Sq3StmtPrepareV2 (db, zSql, &ppStmt));
948 OT_CONSTRUCTOR_POST(ppStmt)
949 OT_retObj_CONSTR(ppStmt);
950 goto end;
951 error:
953 end:
955}
#define OT_CONSTRUCTOR_POST(x)
#define OT_CHECK_REQUIRED(val)
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_CHECK__ME_REF_MkStringR(val)
#define OT_retObj_CONSTR(mng)
Definition Sq3StmtC_py.c:21
#define OT_SETUP_hdl_constr
Definition Sq3StmtC_py.c:25
#define new_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 …

◆ pysq3lite_Sq3StmtC_PrepareV2()

static OT_ProcRet pysq3lite_Sq3StmtC_PrepareV2 ( OtClass_ARGS )
static

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

Definition at line 898 of file Sq3StmtC_py.c.

898 {
901 SQ3_LITE db = 0;
903 MkStringR zSql = {0};
906 SQ3_STMT ppStmt;
907 MkErrorC_Check(db,Sq3StmtPrepareV2 (db, zSql, &ppStmt));
908 OT_CONSTRUCTOR_POST(ppStmt)
909 OT_retObj_SET_STMT(ppStmt);
910 goto end;
911 error:
913 end:
915}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_STMT(nat)
#define OT_SETUP_hdl_static_constr
Definition Sq3StmtC_py.c:31
#define PrepareV2_doc

◆ pysq3lite_Sq3StmtC_PrepareV3()

static OT_ProcRet pysq3lite_Sq3StmtC_PrepareV3 ( OtClass_ARGS )
static

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

Definition at line 918 of file Sq3StmtC_py.c.

918 {
921 SQ3_LITE db = 0;
923 MkStringR zSql = {0};
925 enum Sq3PrepareEF prepFlags = SQ3_PREPARE_NO;
928 SQ3_STMT ppStmt;
929 MkErrorC_Check(db,Sq3StmtPrepareV3 (db, zSql, prepFlags, &ppStmt));
930 OT_retObj_SET_STMT(ppStmt);
931 goto end;
932 error:
934 end:
936}
#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 …
#define OT_CHECK_ENUM(ename, val)