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_PY_API

Sq3LiteC - execute a sql statement … More...

+ Collaboration diagram for Sq3LiteC_Execution_PY_API:

Functions

static OT_ProcRet pysq3lite_Sq3LiteC_Exec (Sq3LiteC_ARGS)
  Python: sq3lite.Exec(sql:string, ?callback_data:callable=None?) C-API
One-Step Query Execution Interface …
 
static OT_ProcRet pysq3lite_Sq3LiteC_ExecV2 (Sq3LiteC_ARGS)
  Python: sq3lite.ExecV2(sql:string, ?callback:callable=None?) 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 pysq3lite_Sq3LiteC_Sleep (OtClass_ARGS)
  Python: [static] Sq3LiteC.Sleep(arg0:int32) C-API
Suspend Execution For A Short Time …
 

Detailed Description

Sq3LiteC - execute a sql statement …

Function Documentation

◆ pysq3lite_Sq3LiteC_Exec()

static OT_ProcRet pysq3lite_Sq3LiteC_Exec ( Sq3LiteC_ARGS )
static

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

Definition at line 458 of file Sq3LiteC_py.c.

458 {
461 MK_STRN sql = 0;
463 OT_SETUP_CALLABLE_ONCE(callback_data)
466 Sq3Fupu_Sq3LiteExec_callback_call callback_call = (callback_data == NULL ? NULL : NS(LiteExecCall));
467 MkErrorC_Check(hdl,Sq3LiteExec (hdl, sql, callback_call, callback_data));
469 goto end;
470 error:
472 end:
473 OT_CLEANUP_CALLABLE_ONCE(callback_data)
475}
#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
Definition Sq3LiteC_py.c:26
#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)

◆ pysq3lite_Sq3LiteC_ExecV2()

static OT_ProcRet pysq3lite_Sq3LiteC_ExecV2 ( Sq3LiteC_ARGS )
static

Python: sq3lite.ExecV2(sql:string, ?callback:callable=None?) 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 478 of file Sq3LiteC_py.c.

478 {
481 MK_STRN sql = 0;
483 OT_SETUP_CALLABLE_ONCE(callback)
486 Sq3LiteExecV2CB callback_call = (callback == NULL ? NULL : NS(LiteExecV2Call));
487 MkErrorC_Check(hdl,Sq3LiteExecV2 (hdl, sql, callback_call, callback));
489 goto end;
490 error:
492 end:
495}
#define ExecV2_doc
#define Sq3LiteExecV2(...)
enum MkErrorE(* Sq3LiteExecV2CB)(MK_RT mkrt, MK_CBP callV2, MK_BFL vals, MK_BFL cols)
callback for Sq3LiteExecV2

◆ pysq3lite_Sq3LiteC_Sleep()

static OT_ProcRet pysq3lite_Sq3LiteC_Sleep ( OtClass_ARGS )
static

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

Definition at line 500 of file Sq3LiteC_py.c.

500 {
503 MK_I32 arg0 = 0;
508 goto end;
509 error:
511 end:
513}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI4(val)
#define OT_SETUP_hdl_static
Definition Sq3LiteC_py.c:31
#define Sleep_doc
#define MK_ERROR_FORMAT
signed int MK_I32
static enum MkErrorE Sq3LiteSleep(MK_I32 arg0)
Suspend Execution For A Short Time …