theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3LiteC_TOR_ATL_API

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

+ Collaboration diagram for Sq3LiteC_TOR_ATL_API:

Functions

static OT_ProcRet atlsq3lite_Sq3LiteC_CTOR (CONSTR_ARGS)
  Atl: (constructor,static) Sq3LiteC [Sq3LiteC::CTOR filename:string ?flags:Sq3OpenEF={SQ3_OPEN_READWRITE SQ3_OPEN_CREATE}? ?zVfs:string="NULL"?] C-API
Opening A New Database Connection …
 
static OT_ProcRet atlsq3lite_Sq3LiteC_OpenV2 (OtClass_ARGS)
  Atl: (constructor,static) Sq3LiteC [Sq3LiteC::OpenV2 filename:string ?flags:Sq3OpenEF={SQ3_OPEN_READWRITE SQ3_OPEN_CREATE}? ?zVfs:string="NULL"?] C-API
Opening A New Database Connection …
 
static OT_ProcRet atlsq3lite_Sq3LiteC_PrepareV2 (Sq3LiteC_ARGS)
  Atl: (constructor) Sq3StmtC [Sq3LiteC::PrepareV2 $db zSql:string] C-API
Compiling An SQL Statement …
 
static OT_ProcRet atlsq3lite_Sq3LiteC_CloseV2 (Sq3LiteC_ARGS)
  Atl: (destructor) Sq3LiteC::CloseV2 $sq3lite C-API
Closing A Database Connection …
 

Detailed Description

Sq3LiteC - various functions to create, initialize and destroy …

Function Documentation

◆ atlsq3lite_Sq3LiteC_CloseV2()

static OT_ProcRet atlsq3lite_Sq3LiteC_CloseV2 ( Sq3LiteC_ARGS )
static

Atl: (destructor) Sq3LiteC::CloseV2 $sq3lite C-API
Closing A Database Connection …

Definition at line 1040 of file Sq3LiteC_atl.c.

1040 {
1044 MkErrorC_Check(hdl,Sq3LiteCloseV2 (hdl));
1046 goto end;
1047 error:
1049 end:
1051}
#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
static enum MkErrorE Sq3LiteCloseV2(SQ3_LITE sq3lite)
Closing A Database Connection …

◆ atlsq3lite_Sq3LiteC_CTOR()

static OT_ProcRet atlsq3lite_Sq3LiteC_CTOR ( CONSTR_ARGS )
static

Atl: (constructor,static) Sq3LiteC [Sq3LiteC::CTOR filename:string ?flags:Sq3OpenEF={SQ3_OPEN_READWRITE SQ3_OPEN_CREATE}? ?zVfs:string="NULL"?] C-API
Opening A New Database Connection …

Definition at line 976 of file Sq3LiteC_atl.c.

976 {
979 MK_STRN filename = 0;
983 MK_STRN zVfs = NULL;
985 SQ3_LITE ppDb;
986 MkErrorC_Check(MK_ERROR_FORMAT,Sq3LiteOpenV2 (filename, &ppDb, flags, zVfs));
988 OT_retObj_CONSTR(ppDb);
989 goto end;
990 error:
992 end:
994}
#define OT_CONSTRUCTOR_POST(x)
#define OT_CHECK_REQUIRED(val)
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_CHECK_ENUM(ename, val)
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_STRN(val)
#define OT_SETUP_hdl_constr
#define OT_retObj_CONSTR(x)
#define CTOR_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
Struct to represent the data of the Sq3LiteC …

◆ atlsq3lite_Sq3LiteC_OpenV2()

static OT_ProcRet atlsq3lite_Sq3LiteC_OpenV2 ( OtClass_ARGS )
static

Atl: (constructor,static) Sq3LiteC [Sq3LiteC::OpenV2 filename:string ?flags:Sq3OpenEF={SQ3_OPEN_READWRITE SQ3_OPEN_CREATE}? ?zVfs:string="NULL"?] C-API
Opening A New Database Connection …

Definition at line 997 of file Sq3LiteC_atl.c.

997 {
1000 MK_STRN filename = 0;
1004 MK_STRN zVfs = NULL;
1007 SQ3_LITE ppDb;
1008 MkErrorC_Check(MK_ERROR_FORMAT,Sq3LiteOpenV2 (filename, &ppDb, flags, zVfs));
1010 OT_retObj_SET_LITE(ppDb);
1011 goto end;
1012 error:
1014 end:
1016}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_LITE(nat)
#define OT_SETUP_hdl_static_constr
#define OpenV2_doc

◆ atlsq3lite_Sq3LiteC_PrepareV2()

static OT_ProcRet atlsq3lite_Sq3LiteC_PrepareV2 ( Sq3LiteC_ARGS )
static

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

Definition at line 1021 of file Sq3LiteC_atl.c.

1021 {
1024 MkStringR zSql = {0};
1027 SQ3_STMT ppStmt;
1028 MkErrorC_Check(hdl,Sq3LitePrepareV2 (hdl, zSql, &ppStmt));
1029 OT_retObj_SET_STMT(ppStmt);
1030 goto end;
1031 error:
1033 end:
1035}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK__ME_REF_MkStringR(val)
#define OT_retObj_SET_STMT(nat)
#define OT_SETUP_hdl
#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 …