theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3LiteC_Execution_ATL_API

Sq3LiteC - execute a sql statement … More...

+ Collaboration diagram for Sq3LiteC_Execution_ATL_API:

Functions

static OT_ProcRet atlsq3lite_Sq3LiteC_Exec (Sq3LiteC_ARGS)
  Atl: Sq3LiteC::Exec $sq3lite sql:string ?callback_data:callable=NULL? C-API
One-Step Query Execution Interface …
 
static OT_ProcRet atlsq3lite_Sq3LiteC_ExecV2 (Sq3LiteC_ARGS)
  Atl: Sq3LiteC::ExecV2 $sq3lite sql:string ?callback:callable=NULL? C-API
The Sq3LiteExecV2() interface is a convenience wrapper around Sq3StmtPrepareV2(), Sq3StmtStep(), and Sq3StmtFinalize(), that allows an application to run multiple statements of SQL without having to use a lot of C code.
 
static OT_ProcRet atlsq3lite_Sq3LiteC_Sleep (OtClass_ARGS)
  Atl: (static) Sq3LiteC::Sleep arg0:int32 C-API
Suspend Execution For A Short Time …
 

Detailed Description

Sq3LiteC - execute a sql statement …

Function Documentation

◆ atlsq3lite_Sq3LiteC_Exec()

static OT_ProcRet atlsq3lite_Sq3LiteC_Exec ( Sq3LiteC_ARGS )
static

Atl: Sq3LiteC::Exec $sq3lite sql:string ?callback_data:callable=NULL? C-API
One-Step Query Execution Interface …

Definition at line 448 of file Sq3LiteC_atl.c.

448 {
451 MK_STRN sql = 0;
453 OT_SETUP_CALLABLE_ONCE(callback_data)
456 Sq3Fupu_Sq3LiteExec_callback_call callback_call = (callback_data == NULL ? NULL : NS(LiteExecCall));
457 MkErrorC_Check(hdl,Sq3LiteExec (hdl, sql, callback_call, callback_data));
459 goto end;
460 error:
462 end:
463 OT_CLEANUP_CALLABLE_ONCE(callback_data)
465}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_CHECK_STRN(val)
#define NS(n)
#define OT_SETUP_hdl
#define Exec_doc
const MK_STRB * MK_STRN
static enum MkErrorE Sq3LiteExec(SQ3_LITE sq3lite, MK_STRN sql, Sq3Fupu_Sq3LiteExec_callback_call callback_call, MK_CBP callback_data)
One-Step Query Execution Interface …
Sq3Fupu_Sq3LiteExec_callback_call_ret(* Sq3Fupu_Sq3LiteExec_callback_call)(Sq3Fupu_Sq3LiteExec_callback_call_args)
#define OT_CHECK_CALLABLE(val)
#define OT_SETUP_CALLABLE_ONCE(val)
#define OT_CLEANUP_CALLABLE_ONCE(val)

◆ atlsq3lite_Sq3LiteC_ExecV2()

static OT_ProcRet atlsq3lite_Sq3LiteC_ExecV2 ( Sq3LiteC_ARGS )
static

Atl: Sq3LiteC::ExecV2 $sq3lite sql:string ?callback:callable=NULL? C-API
The Sq3LiteExecV2() interface is a convenience wrapper around Sq3StmtPrepareV2(), Sq3StmtStep(), and Sq3StmtFinalize(), that allows an application to run multiple statements of SQL without having to use a lot of C code.

Definition at line 468 of file Sq3LiteC_atl.c.

468 {
471 MK_STRN sql = 0;
473 OT_SETUP_CALLABLE_ONCE(callback)
476 Sq3LiteExecV2CB callback_call = (callback == NULL ? NULL : NS(LiteExecV2Call));
477 MkErrorC_Check(hdl,Sq3LiteExecV2 (hdl, sql, callback_call, callback));
479 goto end;
480 error:
482 end:
485}
#define ExecV2_doc
#define Sq3LiteExecV2(...)
enum MkErrorE(* Sq3LiteExecV2CB)(MK_RT mkrt, MK_CBP callV2, MK_BFL vals, MK_BFL cols)
callback for Sq3LiteExecV2

◆ atlsq3lite_Sq3LiteC_Sleep()

static OT_ProcRet atlsq3lite_Sq3LiteC_Sleep ( OtClass_ARGS )
static

Atl: (static) Sq3LiteC::Sleep arg0:int32 C-API
Suspend Execution For A Short Time …

Definition at line 490 of file Sq3LiteC_atl.c.

490 {
493 MK_I32 arg0 = 0;
498 goto end;
499 error:
501 end:
503}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI4(val)
#define OT_SETUP_hdl_static
#define Sleep_doc
#define MK_ERROR_FORMAT
signed int MK_I32
static enum MkErrorE Sq3LiteSleep(MK_I32 arg0)
Suspend Execution For A Short Time …