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
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 183 of file Sq3StmtC_rb.c.

183 {
186 MK_I32 pos = 0;
188 MkBinaryR blob = {0};
191 MkErrorC_Check(hdl,Sq3StmtBindBlob (hdl, pos, blob));
193 end: MK_UNUSED /* LONG JUMP on error */
195}
#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:90
#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 198 of file Sq3StmtC_rb.c.

198 {
201 MK_I32 arg1 = 0;
203 MK_DBL arg2 = 0;
206 MkErrorC_Check(hdl,Sq3StmtBindDouble (hdl, arg1, arg2));
208 end: MK_UNUSED /* LONG JUMP on error */
210}
#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 213 of file Sq3StmtC_rb.c.

213 {
216 MK_I32 arg1 = 0;
218 MK_I32 arg2 = 0;
221 MkErrorC_Check(hdl,Sq3StmtBindInt (hdl, arg1, arg2));
223 end: MK_UNUSED /* LONG JUMP on error */
225}
#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 228 of file Sq3StmtC_rb.c.

228 {
231 MK_I32 arg1 = 0;
233 MK_I64 arg2 = 0;
236 MkErrorC_Check(hdl,Sq3StmtBindInt64 (hdl, arg1, arg2));
238 end: MK_UNUSED /* LONG JUMP on error */
240}
#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 243 of file Sq3StmtC_rb.c.

243 {
246 MK_I32 arg1 = 0;
249 MkErrorC_Check(hdl,Sq3StmtBindNull (hdl, arg1));
251 end: MK_UNUSED /* LONG JUMP on error */
253}
#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 256 of file Sq3StmtC_rb.c.

256 {
262 end: MK_UNUSED /* LONG JUMP on error */
264}
#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 267 of file Sq3StmtC_rb.c.

267 {
270 MK_STRN zName = 0;
275 end: MK_UNUSED /* LONG JUMP on error */
277}
#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 280 of file Sq3StmtC_rb.c.

280 {
283 MK_I32 arg1 = 0;
287 end: MK_UNUSED /* LONG JUMP on error */
289}
#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 292 of file Sq3StmtC_rb.c.

292 {
295 MK_I32 pos = 0;
297 MkStringR text = {0};
300 MkErrorC_Check(hdl,Sq3StmtBindText (hdl, pos, text));
302 end: MK_UNUSED /* LONG JUMP on error */
304}
#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 307 of file Sq3StmtC_rb.c.

307 {
310 MK_I32 arg1 = 0;
312 SQ3_VALN arg2 = 0;
315 MkErrorC_Check(hdl,Sq3StmtBindValue (hdl, arg1, arg2));
317 end: MK_UNUSED /* LONG JUMP on error */
319}
#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 322 of file Sq3StmtC_rb.c.

322 {
325 MK_I32 arg1 = 0;
327 MK_I32 n = 0;
330 MkErrorC_Check(hdl,Sq3StmtBindZeroblob (hdl, arg1, n));
332 end: MK_UNUSED /* LONG JUMP on error */
334}
#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 337 of file Sq3StmtC_rb.c.

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