theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_Bind_PY_API

Sq3StmtC - bind a typeMore...

+ Collaboration diagram for Sq3StmtC_Bind_PY_API:

Functions

static OT_ProcRet pysq3lite_Sq3StmtC_BindBlob (Sq3StmtC_ARGS)
  Python: sq3stmt.BindBlob(pos:int32, blob:binary) C-API
Bind a MkBinaryR Value To a Prepared Statement …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindDouble (Sq3StmtC_ARGS)
  Python: sq3stmt.BindDouble(arg1:int32, arg2:double) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindInt (Sq3StmtC_ARGS)
  Python: sq3stmt.BindInt(arg1:int32, arg2:int32) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindInt64 (Sq3StmtC_ARGS)
  Python: sq3stmt.BindInt64(arg1:int32, arg2:int64) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindNull (Sq3StmtC_ARGS)
  Python: sq3stmt.BindNull(arg1:int32) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindParameterCount (Sq3StmtC_ARGS)
  Python: sq3stmt.BindParameterCount() C-API
Number Of SQL Parameters …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindParameterIndex (Sq3StmtC_ARGS)
  Python: sq3stmt.BindParameterIndex(zName:string) C-API
Index Of A Parameter With A Given Name …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindParameterName (Sq3StmtC_ARGS)
  Python: string sq3stmt.BindParameterName(arg1:int32) C-API
Name Of A Host Parameter …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindText (Sq3StmtC_ARGS)
  Python: sq3stmt.BindText(pos:int32, text:string) C-API
Bind a MkStringR Value To a Prepared Statement …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindValue (Sq3StmtC_ARGS)
  Python: sq3stmt.BindValue(arg1:int32, arg2:Sq3ValueC) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindZeroblob (Sq3StmtC_ARGS)
  Python: sq3stmt.BindZeroblob(arg1:int32, n:int32) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet pysq3lite_Sq3StmtC_BindZeroblob64 (Sq3StmtC_ARGS)
  Python: sq3stmt.BindZeroblob64(arg1:int32, arg2:int64) C-API
Binding Values To Prepared Statements …
 

Detailed Description

Sq3StmtC - bind a type

Method definition

Function Documentation

◆ pysq3lite_Sq3StmtC_BindBlob()

static OT_ProcRet pysq3lite_Sq3StmtC_BindBlob ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindBlob(pos:int32, blob:binary) C-API
Bind a MkBinaryR Value To a Prepared Statement …

Definition at line 174 of file Sq3StmtC_py.c.

174 {
177 MK_I32 pos = 0;
179 MkBinaryR blob = {0};
182 MkErrorC_Check(hdl,Sq3StmtBindBlob (hdl, pos, blob));
184 goto end;
185 error:
187 end:
189}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK__ME_REF_MkBinaryR(val)
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
Definition Sq3StmtC_py.c:23
#define BindBlob_doc
signed int MK_I32
#define Sq3StmtBindBlob(...)

◆ pysq3lite_Sq3StmtC_BindDouble()

static OT_ProcRet pysq3lite_Sq3StmtC_BindDouble ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindDouble(arg1:int32, arg2:double) C-API
Binding Values To Prepared Statements …

Definition at line 192 of file Sq3StmtC_py.c.

192 {
195 MK_I32 arg1 = 0;
197 MK_DBL arg2 = 0;
200 MkErrorC_Check(hdl,Sq3StmtBindDouble (hdl, arg1, arg2));
202 goto end;
203 error:
205 end:
207}
#define OT_CHECK_NF8(val)
#define BindDouble_doc
double MK_DBL
static enum MkErrorE Sq3StmtBindDouble(SQ3_STMT sq3stmt, MK_I32 arg1, MK_DBL arg2)
Binding Values To Prepared Statements …

◆ pysq3lite_Sq3StmtC_BindInt()

static OT_ProcRet pysq3lite_Sq3StmtC_BindInt ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindInt(arg1:int32, arg2:int32) C-API
Binding Values To Prepared Statements …

Definition at line 210 of file Sq3StmtC_py.c.

210 {
213 MK_I32 arg1 = 0;
215 MK_I32 arg2 = 0;
218 MkErrorC_Check(hdl,Sq3StmtBindInt (hdl, arg1, arg2));
220 goto end;
221 error:
223 end:
225}
#define BindInt_doc
static enum MkErrorE Sq3StmtBindInt(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 arg2)
Binding Values To Prepared Statements …

◆ pysq3lite_Sq3StmtC_BindInt64()

static OT_ProcRet pysq3lite_Sq3StmtC_BindInt64 ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindInt64(arg1:int32, arg2:int64) C-API
Binding Values To Prepared Statements …

Definition at line 228 of file Sq3StmtC_py.c.

228 {
231 MK_I32 arg1 = 0;
233 MK_I64 arg2 = 0;
236 MkErrorC_Check(hdl,Sq3StmtBindInt64 (hdl, arg1, arg2));
238 goto end;
239 error:
241 end:
243}
#define OT_CHECK_NI8(val)
#define BindInt64_doc
signed long long MK_I64
static enum MkErrorE Sq3StmtBindInt64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …

◆ pysq3lite_Sq3StmtC_BindNull()

static OT_ProcRet pysq3lite_Sq3StmtC_BindNull ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindNull(arg1:int32) C-API
Binding Values To Prepared Statements …

Definition at line 246 of file Sq3StmtC_py.c.

246 {
249 MK_I32 arg1 = 0;
252 MkErrorC_Check(hdl,Sq3StmtBindNull (hdl, arg1));
254 goto end;
255 error:
257 end:
259}
#define OT_SETUP_ONEARG(d)
#define BindNull_doc
static enum MkErrorE Sq3StmtBindNull(SQ3_STMT sq3stmt, MK_I32 arg1)
Binding Values To Prepared Statements …

◆ pysq3lite_Sq3StmtC_BindParameterCount()

static OT_ProcRet pysq3lite_Sq3StmtC_BindParameterCount ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindParameterCount() C-API
Number Of SQL Parameters …

Definition at line 262 of file Sq3StmtC_py.c.

262 {
268 goto end;
269 error:
271 end:
273}
#define OT_SETUP_NOARG(d)
#define BindParameterCount_doc
static enum MkErrorE Sq3StmtBindParameterCount(SQ3_STMT sq3stmt)
Number Of SQL Parameters …

◆ pysq3lite_Sq3StmtC_BindParameterIndex()

static OT_ProcRet pysq3lite_Sq3StmtC_BindParameterIndex ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindParameterIndex(zName:string) C-API
Index Of A Parameter With A Given Name …

Definition at line 276 of file Sq3StmtC_py.c.

276 {
279 MK_STRN zName = 0;
284 goto end;
285 error:
287 end:
289}
#define OT_CHECK_STRN(val)
#define BindParameterIndex_doc
const MK_STRB * MK_STRN
static enum MkErrorE Sq3StmtBindParameterIndex(SQ3_STMT sq3stmt, MK_STRN zName)
Index Of A Parameter With A Given Name …

◆ pysq3lite_Sq3StmtC_BindParameterName()

static OT_ProcRet pysq3lite_Sq3StmtC_BindParameterName ( Sq3StmtC_ARGS )
static

Python: string sq3stmt.BindParameterName(arg1:int32) C-API
Name Of A Host Parameter …

Definition at line 292 of file Sq3StmtC_py.c.

292 {
295 MK_I32 arg1 = 0;
299 goto end;
300 error:
302 end:
304}
#define OT_retObj_SET_STR(nat)
#define BindParameterName_doc
static MK_STRN Sq3StmtBindParameterName(SQ3_STMT sq3stmt, MK_I32 arg1)
Name Of A Host Parameter …

◆ pysq3lite_Sq3StmtC_BindText()

static OT_ProcRet pysq3lite_Sq3StmtC_BindText ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindText(pos:int32, text:string) C-API
Bind a MkStringR Value To a Prepared Statement …

Definition at line 307 of file Sq3StmtC_py.c.

307 {
310 MK_I32 pos = 0;
312 MkStringR text = {0};
315 MkErrorC_Check(hdl,Sq3StmtBindText (hdl, pos, text));
317 goto end;
318 error:
320 end:
322}
#define OT_CHECK__ME_REF_MkStringR(val)
#define BindText_doc
#define Sq3StmtBindText(...)

◆ pysq3lite_Sq3StmtC_BindValue()

static OT_ProcRet pysq3lite_Sq3StmtC_BindValue ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindValue(arg1:int32, arg2:Sq3ValueC) C-API
Binding Values To Prepared Statements …

Definition at line 325 of file Sq3StmtC_py.c.

325 {
328 MK_I32 arg1 = 0;
330 SQ3_VALN arg2 = 0;
333 MkErrorC_Check(hdl,Sq3StmtBindValue (hdl, arg1, arg2));
335 goto end;
336 error:
338 end:
340}
#define BindValue_doc
#define MK_NULL_NO
static enum MkErrorE Sq3StmtBindValue(SQ3_STMT sq3stmt, MK_I32 arg1, SQ3_VALN arg2)
Binding Values To Prepared Statements …
#define OT_CHECK_VALN(val, nullB)
Struct to represent the data of the Sq3ValueC …

◆ pysq3lite_Sq3StmtC_BindZeroblob()

static OT_ProcRet pysq3lite_Sq3StmtC_BindZeroblob ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindZeroblob(arg1:int32, n:int32) C-API
Binding Values To Prepared Statements …

Definition at line 343 of file Sq3StmtC_py.c.

343 {
346 MK_I32 arg1 = 0;
348 MK_I32 n = 0;
351 MkErrorC_Check(hdl,Sq3StmtBindZeroblob (hdl, arg1, n));
353 goto end;
354 error:
356 end:
358}
#define BindZeroblob_doc
static enum MkErrorE Sq3StmtBindZeroblob(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 n)
Binding Values To Prepared Statements …

◆ pysq3lite_Sq3StmtC_BindZeroblob64()

static OT_ProcRet pysq3lite_Sq3StmtC_BindZeroblob64 ( Sq3StmtC_ARGS )
static

Python: sq3stmt.BindZeroblob64(arg1:int32, arg2:int64) C-API
Binding Values To Prepared Statements …

Definition at line 361 of file Sq3StmtC_py.c.

361 {
364 MK_I32 arg1 = 0;
366 MK_I64 arg2 = 0;
369 MkErrorC_Check(hdl,Sq3StmtBindZeroblob64 (hdl, arg1, arg2));
371 goto end;
372 error:
374 end:
376}
#define BindZeroblob64_doc
static enum MkErrorE Sq3StmtBindZeroblob64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …