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_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 419 of file Sq3LiteC_rb.c.

419 {
422 MK_STRN sql = 0;
424 OT_SETUP_CALLABLE_ONCE(callback_data)
427 Sq3Fupu_Sq3LiteExec_callback_call callback_call = (callback_data == NULL ? NULL : NS(LiteExecCall));
428 MkErrorC_Check(hdl,Sq3LiteExec (hdl, sql, callback_call, callback_data));
430 end: MK_UNUSED /* LONG JUMP on error */
431 OT_CLEANUP_CALLABLE_ONCE(callback_data)
433}
#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:90
#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 436 of file Sq3LiteC_rb.c.

436 {
439 MK_STRN sql = 0;
441 OT_SETUP_CALLABLE_ONCE(callback)
444 Sq3LiteExecV2CB callback_call = (callback == NULL ? NULL : NS(LiteExecV2Call));
445 MkErrorC_Check(hdl,Sq3LiteExecV2 (hdl, sql, callback_call, callback));
447 end: MK_UNUSED /* LONG JUMP on error */
450}
#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 455 of file Sq3LiteC_rb.c.

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