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_TCL_API

Sq3LiteC - execute a sql statement … More...

+ Collaboration diagram for Sq3LiteC_Execution_TCL_API:

Functions

static OT_ProcRet tclsq3lite_Sq3LiteC_Exec (Sq3LiteC_ARGS)
  Tcl: $sq3lite Exec sql:string ?callback_data:callable="MK_NULL"? C-API
One-Step Query Execution Interface …
 
static OT_ProcRet tclsq3lite_Sq3LiteC_ExecV2 (Sq3LiteC_ARGS)
  Tcl: $sq3lite ExecV2 sql:string ?callback:callable="MK_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 tclsq3lite_Sq3LiteC_Sleep (OtClass_ARGS)
  Tcl: (static) Sq3LiteC Sleep arg0:int32 C-API
Suspend Execution For A Short Time …
 

Detailed Description

Sq3LiteC - execute a sql statement …

Function Documentation

◆ tclsq3lite_Sq3LiteC_Exec()

static OT_ProcRet tclsq3lite_Sq3LiteC_Exec ( Sq3LiteC_ARGS )
static

Tcl: $sq3lite Exec sql:string ?callback_data:callable="MK_NULL"? C-API
One-Step Query Execution Interface …

Definition at line 472 of file Sq3LiteC_tcl.c.

472 {
475 MK_STRN sql = 0;
477 OT_SETUP_CALLABLE_ONCE(callback_data)
480 Sq3Fupu_Sq3LiteExec_callback_call callback_call = (callback_data == NULL ? NULL : NS(LiteExecCall));
481 MkErrorC_Check(hdl,Sq3LiteExec (hdl, sql, callback_call, callback_data));
483 goto end;
484 error:
486 end:
487 OT_CLEANUP_CALLABLE_ONCE(callback_data)
489}
#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)

◆ tclsq3lite_Sq3LiteC_ExecV2()

static OT_ProcRet tclsq3lite_Sq3LiteC_ExecV2 ( Sq3LiteC_ARGS )
static

Tcl: $sq3lite ExecV2 sql:string ?callback:callable="MK_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 492 of file Sq3LiteC_tcl.c.

492 {
495 MK_STRN sql = 0;
497 OT_SETUP_CALLABLE_ONCE(callback)
500 Sq3LiteExecV2CB callback_call = (callback == NULL ? NULL : NS(LiteExecV2Call));
501 MkErrorC_Check(hdl,Sq3LiteExecV2 (hdl, sql, callback_call, callback));
503 goto end;
504 error:
506 end:
509}
#define ExecV2_doc
#define Sq3LiteExecV2(...)
enum MkErrorE(* Sq3LiteExecV2CB)(MK_RT mkrt, MK_CBP callV2, MK_BFL vals, MK_BFL cols)
callback for Sq3LiteExecV2

◆ tclsq3lite_Sq3LiteC_Sleep()

static OT_ProcRet tclsq3lite_Sq3LiteC_Sleep ( OtClass_ARGS )
static

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

Definition at line 514 of file Sq3LiteC_tcl.c.

514 {
517 MK_I32 arg0 = 0;
522 goto end;
523 error:
525 end:
527}
#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 …