theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_Bind_TCL_API

Sq3StmtC - bind a typeMore...

+ Collaboration diagram for Sq3StmtC_Bind_TCL_API:

Functions

static OT_ProcRet tclsq3lite_Sq3StmtC_BindBlob (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindBlob pos:int32 blob:binary C-API
Bind a MkBinaryR Value To a Prepared Statement …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindDouble (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindDouble arg1:int32 arg2:double C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindInt (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindInt arg1:int32 arg2:int32 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindInt64 (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindInt64 arg1:int32 arg2:int64 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindNull (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindNull arg1:int32 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindParameterCount (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindParameterCount C-API
Number Of SQL Parameters …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindParameterIndex (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindParameterIndex zName:string C-API
Index Of A Parameter With A Given Name …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindParameterName (Sq3StmtC_ARGS)
  Tcl: string [$sq3stmt BindParameterName arg1:int32] C-API
Name Of A Host Parameter …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindText (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindText pos:int32 text:string C-API
Bind a MkStringR Value To a Prepared Statement …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindValue (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindValue arg1:int32 arg2:Sq3ValueC C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindZeroblob (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindZeroblob arg1:int32 n:int32 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet tclsq3lite_Sq3StmtC_BindZeroblob64 (Sq3StmtC_ARGS)
  Tcl: $sq3stmt BindZeroblob64 arg1:int32 arg2:int64 C-API
Binding Values To Prepared Statements …
 

Detailed Description

Sq3StmtC - bind a type

Function Documentation

◆ tclsq3lite_Sq3StmtC_BindBlob()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindBlob ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindBlob pos:int32 blob:binary C-API
Bind a MkBinaryR Value To a Prepared Statement …

Definition at line 188 of file Sq3StmtC_tcl.c.

188 {
191 MK_I32 pos = 0;
193 MkBinaryR blob = {0};
196 MkErrorC_Check(hdl,Sq3StmtBindBlob (hdl, pos, blob));
198 goto end;
199 error:
201 end:
203}
#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
#define BindBlob_doc
signed int MK_I32
#define Sq3StmtBindBlob(...)

◆ tclsq3lite_Sq3StmtC_BindDouble()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindDouble ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindDouble arg1:int32 arg2:double C-API
Binding Values To Prepared Statements …

Definition at line 206 of file Sq3StmtC_tcl.c.

206 {
209 MK_I32 arg1 = 0;
211 MK_DBL arg2 = 0;
214 MkErrorC_Check(hdl,Sq3StmtBindDouble (hdl, arg1, arg2));
216 goto end;
217 error:
219 end:
221}
#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 …

◆ tclsq3lite_Sq3StmtC_BindInt()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindInt ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindInt arg1:int32 arg2:int32 C-API
Binding Values To Prepared Statements …

Definition at line 224 of file Sq3StmtC_tcl.c.

224 {
227 MK_I32 arg1 = 0;
229 MK_I32 arg2 = 0;
232 MkErrorC_Check(hdl,Sq3StmtBindInt (hdl, arg1, arg2));
234 goto end;
235 error:
237 end:
239}
#define BindInt_doc
static enum MkErrorE Sq3StmtBindInt(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 arg2)
Binding Values To Prepared Statements …

◆ tclsq3lite_Sq3StmtC_BindInt64()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindInt64 ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindInt64 arg1:int32 arg2:int64 C-API
Binding Values To Prepared Statements …

Definition at line 242 of file Sq3StmtC_tcl.c.

242 {
245 MK_I32 arg1 = 0;
247 MK_I64 arg2 = 0;
250 MkErrorC_Check(hdl,Sq3StmtBindInt64 (hdl, arg1, arg2));
252 goto end;
253 error:
255 end:
257}
#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 …

◆ tclsq3lite_Sq3StmtC_BindNull()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindNull ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindNull arg1:int32 C-API
Binding Values To Prepared Statements …

Definition at line 260 of file Sq3StmtC_tcl.c.

260 {
263 MK_I32 arg1 = 0;
266 MkErrorC_Check(hdl,Sq3StmtBindNull (hdl, arg1));
268 goto end;
269 error:
271 end:
273}
#define OT_SETUP_ONEARG(d)
#define BindNull_doc
static enum MkErrorE Sq3StmtBindNull(SQ3_STMT sq3stmt, MK_I32 arg1)
Binding Values To Prepared Statements …

◆ tclsq3lite_Sq3StmtC_BindParameterCount()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindParameterCount ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindParameterCount C-API
Number Of SQL Parameters …

Definition at line 276 of file Sq3StmtC_tcl.c.

276 {
282 goto end;
283 error:
285 end:
287}
#define OT_SETUP_NOARG(d)
#define BindParameterCount_doc
static enum MkErrorE Sq3StmtBindParameterCount(SQ3_STMT sq3stmt)
Number Of SQL Parameters …

◆ tclsq3lite_Sq3StmtC_BindParameterIndex()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindParameterIndex ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindParameterIndex zName:string C-API
Index Of A Parameter With A Given Name …

Definition at line 290 of file Sq3StmtC_tcl.c.

290 {
293 MK_STRN zName = 0;
298 goto end;
299 error:
301 end:
303}
#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 …

◆ tclsq3lite_Sq3StmtC_BindParameterName()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindParameterName ( Sq3StmtC_ARGS )
static

Tcl: string [$sq3stmt BindParameterName arg1:int32] C-API
Name Of A Host Parameter …

Definition at line 306 of file Sq3StmtC_tcl.c.

306 {
309 MK_I32 arg1 = 0;
313 goto end;
314 error:
316 end:
318}
#define OT_retObj_SET_STR(nat)
#define BindParameterName_doc
static MK_STRN Sq3StmtBindParameterName(SQ3_STMT sq3stmt, MK_I32 arg1)
Name Of A Host Parameter …

◆ tclsq3lite_Sq3StmtC_BindText()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindText ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindText pos:int32 text:string C-API
Bind a MkStringR Value To a Prepared Statement …

Definition at line 321 of file Sq3StmtC_tcl.c.

321 {
324 MK_I32 pos = 0;
326 MkStringR text = {0};
329 MkErrorC_Check(hdl,Sq3StmtBindText (hdl, pos, text));
331 goto end;
332 error:
334 end:
336}
#define OT_CHECK__ME_REF_MkStringR(val)
#define BindText_doc
#define Sq3StmtBindText(...)

◆ tclsq3lite_Sq3StmtC_BindValue()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindValue ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindValue arg1:int32 arg2:Sq3ValueC C-API
Binding Values To Prepared Statements …

Definition at line 339 of file Sq3StmtC_tcl.c.

339 {
342 MK_I32 arg1 = 0;
344 SQ3_VALN arg2 = 0;
347 MkErrorC_Check(hdl,Sq3StmtBindValue (hdl, arg1, arg2));
349 goto end;
350 error:
352 end:
354}
#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 …

◆ tclsq3lite_Sq3StmtC_BindZeroblob()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindZeroblob ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindZeroblob arg1:int32 n:int32 C-API
Binding Values To Prepared Statements …

Definition at line 357 of file Sq3StmtC_tcl.c.

357 {
360 MK_I32 arg1 = 0;
362 MK_I32 n = 0;
365 MkErrorC_Check(hdl,Sq3StmtBindZeroblob (hdl, arg1, n));
367 goto end;
368 error:
370 end:
372}
#define BindZeroblob_doc
static enum MkErrorE Sq3StmtBindZeroblob(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 n)
Binding Values To Prepared Statements …

◆ tclsq3lite_Sq3StmtC_BindZeroblob64()

static OT_ProcRet tclsq3lite_Sq3StmtC_BindZeroblob64 ( Sq3StmtC_ARGS )
static

Tcl: $sq3stmt BindZeroblob64 arg1:int32 arg2:int64 C-API
Binding Values To Prepared Statements …

Definition at line 375 of file Sq3StmtC_tcl.c.

375 {
378 MK_I32 arg1 = 0;
380 MK_I64 arg2 = 0;
383 MkErrorC_Check(hdl,Sq3StmtBindZeroblob64 (hdl, arg1, arg2));
385 goto end;
386 error:
388 end:
390}
#define BindZeroblob64_doc
static enum MkErrorE Sq3StmtBindZeroblob64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …