theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_Bind_RB_API

Sq3StmtC - bind a typeMore...

+ Collaboration diagram for Sq3StmtC_Bind_RB_API:

Functions

static OT_ProcRet rbsq3lite_Sq3StmtC_BindBlob (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindBlob(pos:int32, blob:binary) C-API
Bind a MkBinaryR Value To a Prepared Statement …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindDouble (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindDouble(arg1:int32, arg2:double) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindInt (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindInt(arg1:int32, arg2:int32) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindInt64 (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindInt64(arg1:int32, arg2:int64) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindNull (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindNull(arg1:int32) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindParameterCount (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindParameterCount() C-API
Number Of SQL Parameters …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindParameterIndex (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindParameterIndex(zName:string) C-API
Index Of A Parameter With A Given Name …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindParameterName (Sq3StmtC_ARGS)
  Ruby: string sq3stmt.BindParameterName(arg1:int32) C-API
Name Of A Host Parameter …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindText (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindText(pos:int32, text:string) C-API
Bind a MkStringR Value To a Prepared Statement …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindValue (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindValue(arg1:int32, arg2:Sq3ValueC) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindZeroblob (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindZeroblob(arg1:int32, n:int32) C-API
Binding Values To Prepared Statements …
 
static OT_ProcRet rbsq3lite_Sq3StmtC_BindZeroblob64 (Sq3StmtC_ARGS)
  Ruby: sq3stmt.BindZeroblob64(arg1:int32, arg2:int64) C-API
Binding Values To Prepared Statements …
 

Detailed Description

Sq3StmtC - bind a type

Function Documentation

◆ rbsq3lite_Sq3StmtC_BindBlob()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindBlob ( Sq3StmtC_ARGS )
static

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

Definition at line 180 of file Sq3StmtC_rb.c.

180 {
183 MK_I32 pos = 0;
185 MkBinaryR blob = {0};
188 MkErrorC_Check(hdl,Sq3StmtBindBlob (hdl, pos, blob));
190 end: MK_UNUSED /* LONG JUMP on error */
192}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_NI4(val)
#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_rb.c:87
#define BindBlob_doc
#define MK_UNUSED
signed int MK_I32
#define Sq3StmtBindBlob(...)

◆ rbsq3lite_Sq3StmtC_BindDouble()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindDouble ( Sq3StmtC_ARGS )
static

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

Definition at line 195 of file Sq3StmtC_rb.c.

195 {
198 MK_I32 arg1 = 0;
200 MK_DBL arg2 = 0;
203 MkErrorC_Check(hdl,Sq3StmtBindDouble (hdl, arg1, arg2));
205 end: MK_UNUSED /* LONG JUMP on error */
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 …

◆ rbsq3lite_Sq3StmtC_BindInt()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindInt ( Sq3StmtC_ARGS )
static

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

Definition at line 210 of file Sq3StmtC_rb.c.

210 {
213 MK_I32 arg1 = 0;
215 MK_I32 arg2 = 0;
218 MkErrorC_Check(hdl,Sq3StmtBindInt (hdl, arg1, arg2));
220 end: MK_UNUSED /* LONG JUMP on error */
222}
#define BindInt_doc
static enum MkErrorE Sq3StmtBindInt(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 arg2)
Binding Values To Prepared Statements …

◆ rbsq3lite_Sq3StmtC_BindInt64()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindInt64 ( Sq3StmtC_ARGS )
static

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

Definition at line 225 of file Sq3StmtC_rb.c.

225 {
228 MK_I32 arg1 = 0;
230 MK_I64 arg2 = 0;
233 MkErrorC_Check(hdl,Sq3StmtBindInt64 (hdl, arg1, arg2));
235 end: MK_UNUSED /* LONG JUMP on error */
237}
#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 …

◆ rbsq3lite_Sq3StmtC_BindNull()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindNull ( Sq3StmtC_ARGS )
static

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

Definition at line 240 of file Sq3StmtC_rb.c.

240 {
243 MK_I32 arg1 = 0;
246 MkErrorC_Check(hdl,Sq3StmtBindNull (hdl, arg1));
248 end: MK_UNUSED /* LONG JUMP on error */
250}
#define OT_SETUP_ONEARG(d)
#define BindNull_doc
static enum MkErrorE Sq3StmtBindNull(SQ3_STMT sq3stmt, MK_I32 arg1)
Binding Values To Prepared Statements …

◆ rbsq3lite_Sq3StmtC_BindParameterCount()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindParameterCount ( Sq3StmtC_ARGS )
static

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

Definition at line 253 of file Sq3StmtC_rb.c.

253 {
259 end: MK_UNUSED /* LONG JUMP on error */
261}
#define OT_SETUP_NOARG(d)
#define BindParameterCount_doc
static enum MkErrorE Sq3StmtBindParameterCount(SQ3_STMT sq3stmt)
Number Of SQL Parameters …

◆ rbsq3lite_Sq3StmtC_BindParameterIndex()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindParameterIndex ( Sq3StmtC_ARGS )
static

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

Definition at line 264 of file Sq3StmtC_rb.c.

264 {
267 MK_STRN zName = 0;
272 end: MK_UNUSED /* LONG JUMP on error */
274}
#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 …

◆ rbsq3lite_Sq3StmtC_BindParameterName()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindParameterName ( Sq3StmtC_ARGS )
static

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

Definition at line 277 of file Sq3StmtC_rb.c.

277 {
280 MK_I32 arg1 = 0;
284 end: MK_UNUSED /* LONG JUMP on error */
286}
#define OT_retObj_SET_STR(nat)
#define BindParameterName_doc
static MK_STRN Sq3StmtBindParameterName(SQ3_STMT sq3stmt, MK_I32 arg1)
Name Of A Host Parameter …

◆ rbsq3lite_Sq3StmtC_BindText()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindText ( Sq3StmtC_ARGS )
static

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

Definition at line 289 of file Sq3StmtC_rb.c.

289 {
292 MK_I32 pos = 0;
294 MkStringR text = {0};
297 MkErrorC_Check(hdl,Sq3StmtBindText (hdl, pos, text));
299 end: MK_UNUSED /* LONG JUMP on error */
301}
#define OT_CHECK__ME_REF_MkStringR(val)
#define BindText_doc
#define Sq3StmtBindText(...)

◆ rbsq3lite_Sq3StmtC_BindValue()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindValue ( Sq3StmtC_ARGS )
static

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

Definition at line 304 of file Sq3StmtC_rb.c.

304 {
307 MK_I32 arg1 = 0;
309 SQ3_VALN arg2 = 0;
312 MkErrorC_Check(hdl,Sq3StmtBindValue (hdl, arg1, arg2));
314 end: MK_UNUSED /* LONG JUMP on error */
316}
#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 …

◆ rbsq3lite_Sq3StmtC_BindZeroblob()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindZeroblob ( Sq3StmtC_ARGS )
static

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

Definition at line 319 of file Sq3StmtC_rb.c.

319 {
322 MK_I32 arg1 = 0;
324 MK_I32 n = 0;
327 MkErrorC_Check(hdl,Sq3StmtBindZeroblob (hdl, arg1, n));
329 end: MK_UNUSED /* LONG JUMP on error */
331}
#define BindZeroblob_doc
static enum MkErrorE Sq3StmtBindZeroblob(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 n)
Binding Values To Prepared Statements …

◆ rbsq3lite_Sq3StmtC_BindZeroblob64()

static OT_ProcRet rbsq3lite_Sq3StmtC_BindZeroblob64 ( Sq3StmtC_ARGS )
static

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

Definition at line 334 of file Sq3StmtC_rb.c.

334 {
337 MK_I32 arg1 = 0;
339 MK_I64 arg2 = 0;
342 MkErrorC_Check(hdl,Sq3StmtBindZeroblob64 (hdl, arg1, arg2));
344 end: MK_UNUSED /* LONG JUMP on error */
346}
#define BindZeroblob64_doc
static enum MkErrorE Sq3StmtBindZeroblob64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …