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
Sq3LiteC_TOR_PY_API

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

+ Collaboration diagram for Sq3LiteC_TOR_PY_API:

Functions

static OT_ProcRet pysq3lite_Sq3LiteC_OpenV2 (OtClass_ARGS)
  Python: [constructor,static] Sq3LiteC Sq3LiteC.OpenV2(filename:string, ?flags:Sq3OpenEF=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE?, ?zVfs:string="None"?) C-API
Opening A New Database Connection …
 
static OT_ProcRet pysq3lite_Sq3LiteC_new (CONSTR_ARGS)
  Python: [constructor,static] Sq3LiteC Sq3LiteC.new(filename:string, ?flags:Sq3OpenEF=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE?, ?zVfs:string="None"?) C-API
Opening A New Database Connection …
 
static OT_ProcRet pysq3lite_Sq3LiteC_PrepareV2 (Sq3LiteC_ARGS)
  Python: [constructor] Sq3StmtC db.PrepareV2(zSql:string) C-API
Compiling An SQL Statement …
 
static OT_ProcRet pysq3lite_Sq3LiteC_CloseV2 (Sq3LiteC_ARGS)
  Python: [destructor] sq3lite.CloseV2() C-API
Closing A Database Connection …
 

Detailed Description

Sq3LiteC - various functions to create, initialize and destroy …

Function Documentation

◆ pysq3lite_Sq3LiteC_CloseV2()

static OT_ProcRet pysq3lite_Sq3LiteC_CloseV2 ( Sq3LiteC_ARGS )
static

Python: [destructor] sq3lite.CloseV2() C-API
Closing A Database Connection …

Definition at line 1050 of file Sq3LiteC_py.c.

1050 {
1054 MkErrorC_Check(hdl,Sq3LiteCloseV2 (hdl));
1056 goto end;
1057 error:
1059 end:
1061}
#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 CloseV2_doc
#define OT_SETUP_hdl_destr
Definition Sq3LiteC_py.c:30
static enum MkErrorE Sq3LiteCloseV2(SQ3_LITE sq3lite)
Closing A Database Connection …

◆ pysq3lite_Sq3LiteC_new()

static OT_ProcRet pysq3lite_Sq3LiteC_new ( CONSTR_ARGS )
static

Python: [constructor,static] Sq3LiteC Sq3LiteC.new(filename:string, ?flags:Sq3OpenEF=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE?, ?zVfs:string="None"?) C-API
Opening A New Database Connection …

Definition at line 1008 of file Sq3LiteC_py.c.

1008 {
1011 MK_STRN filename = 0;
1015 MK_STRN zVfs = NULL;
1017 SQ3_LITE ppDb;
1018 MkErrorC_Check(MK_ERROR_FORMAT,Sq3LiteOpenV2 (filename, &ppDb, flags, zVfs));
1020 OT_retObj_CONSTR(ppDb);
1021 goto end;
1022 error:
1024 end:
1026}
#define OT_CONSTRUCTOR_POST(x)
#define OT_CHECK_REQUIRED(val)
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_STRN(val)
#define OT_retObj_CONSTR(mng)
Definition Sq3LiteC_py.c:24
#define OT_SETUP_hdl_constr
Definition Sq3LiteC_py.c:28
#define new_doc
#define MK_ERROR_FORMAT
const MK_STRB * MK_STRN
static enum MkErrorE Sq3LiteOpenV2(MK_STRN filename, SQ3_LITE *ppDb, enum Sq3OpenEF flags, MK_STRN zVfs)
Opening A New Database Connection …
Sq3OpenEF
Flags For File Open Operations.
@ SQ3_OPEN_CREATE
@ SQ3_OPEN_READWRITE
#define OT_CHECK_ENUM(ename, val)
Struct to represent the data of the Sq3LiteC …

◆ pysq3lite_Sq3LiteC_OpenV2()

static OT_ProcRet pysq3lite_Sq3LiteC_OpenV2 ( OtClass_ARGS )
static

Python: [constructor,static] Sq3LiteC Sq3LiteC.OpenV2(filename:string, ?flags:Sq3OpenEF=SQ3_OPEN_READWRITE|SQ3_OPEN_CREATE?, ?zVfs:string="None"?) C-API
Opening A New Database Connection …

Definition at line 986 of file Sq3LiteC_py.c.

986 {
989 MK_STRN filename = 0;
993 MK_STRN zVfs = NULL;
996 SQ3_LITE ppDb;
997 MkErrorC_Check(MK_ERROR_FORMAT,Sq3LiteOpenV2 (filename, &ppDb, flags, zVfs));
999 OT_retObj_SET_LITE(ppDb);
1000 goto end;
1001 error:
1003 end:
1005}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_LITE(nat)
#define OT_SETUP_hdl_static_constr
Definition Sq3LiteC_py.c:34
#define OpenV2_doc

◆ pysq3lite_Sq3LiteC_PrepareV2()

static OT_ProcRet pysq3lite_Sq3LiteC_PrepareV2 ( Sq3LiteC_ARGS )
static

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

Definition at line 1031 of file Sq3LiteC_py.c.

1031 {
1034 MkStringR zSql = {0};
1037 SQ3_STMT ppStmt;
1038 MkErrorC_Check(hdl,Sq3LitePrepareV2 (hdl, zSql, &ppStmt));
1039 OT_retObj_SET_STMT(ppStmt);
1040 goto end;
1041 error:
1043 end:
1045}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK__ME_REF_MkStringR(val)
#define OT_retObj_SET_STMT(nat)
#define OT_SETUP_hdl
Definition Sq3LiteC_py.c:26
#define PrepareV2_doc
static enum MkErrorE Sq3LitePrepareV2(SQ3_LITE db, MkStringR zSql, SQ3_STMT *ppStmt)
Compiling An SQL Statement …
Struct to represent the data of the Sq3StmtC …