theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3LiteC_Execution_RB_API

Sq3LiteC - execute a sql statement … More...

+ Collaboration diagram for Sq3LiteC_Execution_RB_API:

Functions

static OT_ProcRet rbsq3lite_Sq3LiteC_Exec (Sq3LiteC_ARGS)
  Ruby: sq3lite.Exec(sql:string, ?callback_data:callable=nil?) C-API
One-Step Query Execution Interface …
 
static OT_ProcRet rbsq3lite_Sq3LiteC_ExecV2 (Sq3LiteC_ARGS)
  Ruby: sq3lite.ExecV2(sql:string, ?callback:callable=nil?) 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 rbsq3lite_Sq3LiteC_Sleep (OtClass_ARGS)
  Ruby: (static) Sq3LiteC.Sleep(arg0:int32) C-API
Suspend Execution For A Short Time …
 

Detailed Description

Sq3LiteC - execute a sql statement …

Function Documentation

◆ rbsq3lite_Sq3LiteC_Exec()

static OT_ProcRet rbsq3lite_Sq3LiteC_Exec ( Sq3LiteC_ARGS )
static

Ruby: sq3lite.Exec(sql:string, ?callback_data:callable=nil?) C-API
One-Step Query Execution Interface …

Definition at line 416 of file Sq3LiteC_rb.c.

416 {
419 MK_STRN sql = 0;
421 OT_SETUP_CALLABLE_ONCE(callback_data)
424 Sq3Fupu_Sq3LiteExec_callback_call callback_call = (callback_data == NULL ? NULL : NS(LiteExecCall));
425 MkErrorC_Check(hdl,Sq3LiteExec (hdl, sql, callback_call, callback_data));
427 end: MK_UNUSED /* LONG JUMP on error */
428 OT_CLEANUP_CALLABLE_ONCE(callback_data)
430}
#define OT_SETUP_VARARGS(min, max, d)
#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
Definition Sq3LiteC_rb.c:87
#define Exec_doc
#define MK_UNUSED
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)

◆ rbsq3lite_Sq3LiteC_ExecV2()

static OT_ProcRet rbsq3lite_Sq3LiteC_ExecV2 ( Sq3LiteC_ARGS )
static

Ruby: sq3lite.ExecV2(sql:string, ?callback:callable=nil?) 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 433 of file Sq3LiteC_rb.c.

433 {
436 MK_STRN sql = 0;
438 OT_SETUP_CALLABLE_ONCE(callback)
441 Sq3LiteExecV2CB callback_call = (callback == NULL ? NULL : NS(LiteExecV2Call));
442 MkErrorC_Check(hdl,Sq3LiteExecV2 (hdl, sql, callback_call, callback));
444 end: MK_UNUSED /* LONG JUMP on error */
447}
#define ExecV2_doc
#define Sq3LiteExecV2(...)
enum MkErrorE(* Sq3LiteExecV2CB)(MK_RT mkrt, MK_CBP callV2, MK_BFL vals, MK_BFL cols)
callback for Sq3LiteExecV2

◆ rbsq3lite_Sq3LiteC_Sleep()

static OT_ProcRet rbsq3lite_Sq3LiteC_Sleep ( OtClass_ARGS )
static

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

Definition at line 452 of file Sq3LiteC_rb.c.

452 {
455 MK_I32 arg0 = 0;
460 end: MK_UNUSED /* LONG JUMP on error */
462}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI4(val)
#define OT_SETUP_hdl_static
Definition Sq3LiteC_rb.c:93
#define Sleep_doc
#define MK_ERROR_FORMAT
signed int MK_I32
static enum MkErrorE Sq3LiteSleep(MK_I32 arg0)
Suspend Execution For A Short Time …