theSq3Lite 10.0
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 1047 of file Sq3LiteC_py.c.

1047 {
1051 MkErrorC_Check(hdl,Sq3LiteCloseV2 (hdl));
1053 goto end;
1054 error:
1056 end:
1058}
#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:27
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 1005 of file Sq3LiteC_py.c.

1005 {
1008 MK_STRN filename = 0;
1012 MK_STRN zVfs = NULL;
1014 SQ3_LITE ppDb;
1015 MkErrorC_Check(MK_ERROR_FORMAT,Sq3LiteOpenV2 (filename, &ppDb, flags, zVfs));
1017 OT_retObj_CONSTR(ppDb);
1018 goto end;
1019 error:
1021 end:
1023}
#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:21
#define OT_SETUP_hdl_constr
Definition Sq3LiteC_py.c:25
#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 983 of file Sq3LiteC_py.c.

983 {
986 MK_STRN filename = 0;
990 MK_STRN zVfs = NULL;
993 SQ3_LITE ppDb;
994 MkErrorC_Check(MK_ERROR_FORMAT,Sq3LiteOpenV2 (filename, &ppDb, flags, zVfs));
996 OT_retObj_SET_LITE(ppDb);
997 goto end;
998 error:
1000 end:
1002}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_LITE(nat)
#define OT_SETUP_hdl_static_constr
Definition Sq3LiteC_py.c:31
#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 1028 of file Sq3LiteC_py.c.

1028 {
1031 MkStringR zSql = {0};
1034 SQ3_STMT ppStmt;
1035 MkErrorC_Check(hdl,Sq3LitePrepareV2 (hdl, zSql, &ppStmt));
1036 OT_retObj_SET_STMT(ppStmt);
1037 goto end;
1038 error:
1040 end:
1042}
#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:23
#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 …