theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_Bind_ATL_API

Sq3StmtC - bind a typeMore...

+ Collaboration diagram for Sq3StmtC_Bind_ATL_API:

Functions

static OT_ProcRet atlsq3lite_Sq3StmtC_BindBlob (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindBlob $sq3stmt pos:int32 blob:binary C-API
Bind a MkBinaryR Value To a Prepared Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindDouble (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindDouble $sq3stmt arg1:int32 arg2:double C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindInt (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindInt $sq3stmt arg1:int32 arg2:int32 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindInt64 (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindInt64 $sq3stmt arg1:int32 arg2:int64 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindNull (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindNull $sq3stmt arg1:int32 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindParameterCount (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindParameterCount $sq3stmt C-API
Number Of SQL Parameters …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindParameterIndex (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindParameterIndex $sq3stmt zName:string C-API
Index Of A Parameter With A Given Name …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindParameterName (Sq3StmtC_ARGS)
  Atl: string [Sq3StmtC::BindParameterName $sq3stmt arg1:int32] C-API
Name Of A Host Parameter …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindText (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindText $sq3stmt pos:int32 text:string C-API
Bind a MkStringR Value To a Prepared Statement …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindValue (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindValue $sq3stmt arg1:int32 arg2:Sq3ValueC C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindZeroblob (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindZeroblob $sq3stmt arg1:int32 n:int32 C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet atlsq3lite_Sq3StmtC_BindZeroblob64 (Sq3StmtC_ARGS)
  Atl: Sq3StmtC::BindZeroblob64 $sq3stmt arg1:int32 arg2:int64 C-API
Binding Values To Prepared Statements …
 

Detailed Description

Sq3StmtC - bind a type

Function Documentation

◆ atlsq3lite_Sq3StmtC_BindBlob()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindBlob ( Sq3StmtC_ARGS )
static

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

Definition at line 167 of file Sq3StmtC_atl.c.

167 {
170 MK_I32 pos = 0;
172 MkBinaryR blob = {0};
175 MkErrorC_Check(hdl,Sq3StmtBindBlob (hdl, pos, blob));
177 goto end;
178 error:
180 end:
182}
#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(...)

◆ atlsq3lite_Sq3StmtC_BindDouble()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindDouble ( Sq3StmtC_ARGS )
static

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

Definition at line 185 of file Sq3StmtC_atl.c.

185 {
188 MK_I32 arg1 = 0;
190 MK_DBL arg2 = 0;
193 MkErrorC_Check(hdl,Sq3StmtBindDouble (hdl, arg1, arg2));
195 goto end;
196 error:
198 end:
200}
#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 …

◆ atlsq3lite_Sq3StmtC_BindInt()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindInt ( Sq3StmtC_ARGS )
static

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

Definition at line 203 of file Sq3StmtC_atl.c.

203 {
206 MK_I32 arg1 = 0;
208 MK_I32 arg2 = 0;
211 MkErrorC_Check(hdl,Sq3StmtBindInt (hdl, arg1, arg2));
213 goto end;
214 error:
216 end:
218}
#define BindInt_doc
static enum MkErrorE Sq3StmtBindInt(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 arg2)
Binding Values To Prepared Statements …

◆ atlsq3lite_Sq3StmtC_BindInt64()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindInt64 ( Sq3StmtC_ARGS )
static

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

Definition at line 221 of file Sq3StmtC_atl.c.

221 {
224 MK_I32 arg1 = 0;
226 MK_I64 arg2 = 0;
229 MkErrorC_Check(hdl,Sq3StmtBindInt64 (hdl, arg1, arg2));
231 goto end;
232 error:
234 end:
236}
#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 …

◆ atlsq3lite_Sq3StmtC_BindNull()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindNull ( Sq3StmtC_ARGS )
static

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

Definition at line 239 of file Sq3StmtC_atl.c.

239 {
242 MK_I32 arg1 = 0;
245 MkErrorC_Check(hdl,Sq3StmtBindNull (hdl, arg1));
247 goto end;
248 error:
250 end:
252}
#define OT_SETUP_ONEARG(d)
#define BindNull_doc
static enum MkErrorE Sq3StmtBindNull(SQ3_STMT sq3stmt, MK_I32 arg1)
Binding Values To Prepared Statements …

◆ atlsq3lite_Sq3StmtC_BindParameterCount()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindParameterCount ( Sq3StmtC_ARGS )
static

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

Definition at line 255 of file Sq3StmtC_atl.c.

255 {
261 goto end;
262 error:
264 end:
266}
#define OT_SETUP_NOARG(d)
#define BindParameterCount_doc
static enum MkErrorE Sq3StmtBindParameterCount(SQ3_STMT sq3stmt)
Number Of SQL Parameters …

◆ atlsq3lite_Sq3StmtC_BindParameterIndex()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindParameterIndex ( Sq3StmtC_ARGS )
static

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

Definition at line 269 of file Sq3StmtC_atl.c.

269 {
272 MK_STRN zName = 0;
277 goto end;
278 error:
280 end:
282}
#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 …

◆ atlsq3lite_Sq3StmtC_BindParameterName()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindParameterName ( Sq3StmtC_ARGS )
static

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

Definition at line 285 of file Sq3StmtC_atl.c.

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

◆ atlsq3lite_Sq3StmtC_BindText()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindText ( Sq3StmtC_ARGS )
static

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

Definition at line 300 of file Sq3StmtC_atl.c.

300 {
303 MK_I32 pos = 0;
305 MkStringR text = {0};
308 MkErrorC_Check(hdl,Sq3StmtBindText (hdl, pos, text));
310 goto end;
311 error:
313 end:
315}
#define OT_CHECK__ME_REF_MkStringR(val)
#define BindText_doc
#define Sq3StmtBindText(...)

◆ atlsq3lite_Sq3StmtC_BindValue()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindValue ( Sq3StmtC_ARGS )
static

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

Definition at line 318 of file Sq3StmtC_atl.c.

318 {
321 MK_I32 arg1 = 0;
323 SQ3_VALN arg2 = 0;
326 MkErrorC_Check(hdl,Sq3StmtBindValue (hdl, arg1, arg2));
328 goto end;
329 error:
331 end:
333}
#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 …

◆ atlsq3lite_Sq3StmtC_BindZeroblob()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindZeroblob ( Sq3StmtC_ARGS )
static

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

Definition at line 336 of file Sq3StmtC_atl.c.

336 {
339 MK_I32 arg1 = 0;
341 MK_I32 n = 0;
344 MkErrorC_Check(hdl,Sq3StmtBindZeroblob (hdl, arg1, n));
346 goto end;
347 error:
349 end:
351}
#define BindZeroblob_doc
static enum MkErrorE Sq3StmtBindZeroblob(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 n)
Binding Values To Prepared Statements …

◆ atlsq3lite_Sq3StmtC_BindZeroblob64()

static OT_ProcRet atlsq3lite_Sq3StmtC_BindZeroblob64 ( Sq3StmtC_ARGS )
static

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

Definition at line 354 of file Sq3StmtC_atl.c.

354 {
357 MK_I32 arg1 = 0;
359 MK_I64 arg2 = 0;
362 MkErrorC_Check(hdl,Sq3StmtBindZeroblob64 (hdl, arg1, arg2));
364 goto end;
365 error:
367 end:
369}
#define BindZeroblob64_doc
static enum MkErrorE Sq3StmtBindZeroblob64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …