theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3StmtC_Bind_CC_API

Sq3StmtC - bind a typeMore...

+ Collaboration diagram for Sq3StmtC_Bind_CC_API:

Functions

void ccsq3lite::Sq3StmtC::BindBlob (MK_I32 pos, MK_BNP blob)
  C++: sq3stmt.BindBlob(MK_I32 pos, MK_BNP blob) C-API
Bind a MkBinaryR Value To a Prepared Statement …
 
void ccsq3lite::Sq3StmtC::BindDouble (MK_I32 arg1, MK_DBL arg2)
  C++: sq3stmt.BindDouble(MK_I32 arg1, MK_DBL arg2) C-API
Binding Values To Prepared Statements …
 
void ccsq3lite::Sq3StmtC::BindInt (MK_I32 arg1, MK_I32 arg2)
  C++: sq3stmt.BindInt(MK_I32 arg1, MK_I32 arg2) C-API
Binding Values To Prepared Statements …
 
void ccsq3lite::Sq3StmtC::BindInt64 (MK_I32 arg1, MK_I64 arg2)
  C++: sq3stmt.BindInt64(MK_I32 arg1, MK_I64 arg2) C-API
Binding Values To Prepared Statements …
 
void ccsq3lite::Sq3StmtC::BindNull (MK_I32 arg1)
  C++: sq3stmt.BindNull(MK_I32 arg1) C-API
Binding Values To Prepared Statements …
 
void ccsq3lite::Sq3StmtC::BindParameterCount ()
  C++: sq3stmt.BindParameterCount() C-API
Number Of SQL Parameters …
 
void ccsq3lite::Sq3StmtC::BindParameterIndex (MK_STRN zName)
  C++: sq3stmt.BindParameterIndex(MK_STRN zName) C-API
Index Of A Parameter With A Given Name …
 
void ccsq3lite::Sq3StmtC::BindParameterIndex (const std::string &zName)
  C++: sq3stmt.BindParameterIndex(MK_STRN zName) C-API
Index Of A Parameter With A Given Name …
 
MK_STRN ccsq3lite::Sq3StmtC::BindParameterName (MK_I32 arg1)
  C++: MK_STRN sq3stmt.BindParameterName(MK_I32 arg1) C-API
Name Of A Host Parameter …
 
void ccsq3lite::Sq3StmtC::BindText (MK_I32 pos, const std::string &text)
  C++: sq3stmt.BindText(MK_I32 pos, const std::string& text) C-API
Bind a MkStringR Value To a Prepared Statement …
 
void ccsq3lite::Sq3StmtC::BindValue (MK_I32 arg1, const Sq3ValueC *arg2)
  C++: sq3stmt.BindValue(MK_I32 arg1, const Sq3ValueC* arg2) C-API
Binding Values To Prepared Statements …
 
void ccsq3lite::Sq3StmtC::BindValue (MK_I32 arg1, const Sq3ValueC &arg2)
  C++: sq3stmt.BindValue(MK_I32 arg1, const Sq3ValueC* arg2) C-API
Binding Values To Prepared Statements …
 
void ccsq3lite::Sq3StmtC::BindZeroblob (MK_I32 arg1, MK_I32 n)
  C++: sq3stmt.BindZeroblob(MK_I32 arg1, MK_I32 n) C-API
Binding Values To Prepared Statements …
 
void ccsq3lite::Sq3StmtC::BindZeroblob64 (MK_I32 arg1, MK_I64 arg2)
  C++: sq3stmt.BindZeroblob64(MK_I32 arg1, MK_I64 arg2) C-API
Binding Values To Prepared Statements …
 

Detailed Description

Sq3StmtC - bind a type

Function Documentation

◆ BindBlob()

void ccsq3lite::Sq3StmtC::BindBlob ( MK_I32 pos,
MK_BNP blob )
inline

C++: sq3stmt.BindBlob(MK_I32 pos, MK_BNP blob) C-API
Bind a MkBinaryR Value To a Prepared Statement …

Definition at line 35 of file Sq3StmtC_inline_cc.hh.

35 {
36 MK_UNUSED auto sq3stmt = getSTMT();
37 const MkBinaryR blob_ref = MkBinaryCreate(blob.first,blob.second);
38 enum MkErrorE errVal = Sq3StmtBindBlob(sq3stmt, pos, blob_ref);
39 MkErrorC_Check(sq3stmt, errVal);
40 }
static MkBinaryR MkBinaryCreate(MK_SIZE size, MK_BINN data)
#define MK_UNUSED
#define Sq3StmtBindBlob(...)
SQ3_STMT getSTMT() const
return the LibMsgqueObject from current Sq3StmtC instance

◆ BindDouble()

void ccsq3lite::Sq3StmtC::BindDouble ( MK_I32 arg1,
MK_DBL arg2 )
inline

C++: sq3stmt.BindDouble(MK_I32 arg1, MK_DBL arg2) C-API
Binding Values To Prepared Statements …

Definition at line 43 of file Sq3StmtC_inline_cc.hh.

43 {
44 MK_UNUSED auto sq3stmt = getSTMT();
45 enum MkErrorE errVal = Sq3StmtBindDouble(sq3stmt, arg1, arg2);
46 MkErrorC_Check(sq3stmt, errVal);
47 }
static enum MkErrorE Sq3StmtBindDouble(SQ3_STMT sq3stmt, MK_I32 arg1, MK_DBL arg2)
Binding Values To Prepared Statements …

◆ BindInt()

void ccsq3lite::Sq3StmtC::BindInt ( MK_I32 arg1,
MK_I32 arg2 )
inline

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

Definition at line 50 of file Sq3StmtC_inline_cc.hh.

50 {
51 MK_UNUSED auto sq3stmt = getSTMT();
52 enum MkErrorE errVal = Sq3StmtBindInt(sq3stmt, arg1, arg2);
53 MkErrorC_Check(sq3stmt, errVal);
54 }
static enum MkErrorE Sq3StmtBindInt(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 arg2)
Binding Values To Prepared Statements …

◆ BindInt64()

void ccsq3lite::Sq3StmtC::BindInt64 ( MK_I32 arg1,
MK_I64 arg2 )
inline

C++: sq3stmt.BindInt64(MK_I32 arg1, MK_I64 arg2) C-API
Binding Values To Prepared Statements …

Definition at line 57 of file Sq3StmtC_inline_cc.hh.

57 {
58 MK_UNUSED auto sq3stmt = getSTMT();
59 enum MkErrorE errVal = Sq3StmtBindInt64(sq3stmt, arg1, arg2);
60 MkErrorC_Check(sq3stmt, errVal);
61 }
static enum MkErrorE Sq3StmtBindInt64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …

◆ BindNull()

void ccsq3lite::Sq3StmtC::BindNull ( MK_I32 arg1)
inline

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

Definition at line 64 of file Sq3StmtC_inline_cc.hh.

64 {
65 MK_UNUSED auto sq3stmt = getSTMT();
66 enum MkErrorE errVal = Sq3StmtBindNull(sq3stmt, arg1);
67 MkErrorC_Check(sq3stmt, errVal);
68 }
static enum MkErrorE Sq3StmtBindNull(SQ3_STMT sq3stmt, MK_I32 arg1)
Binding Values To Prepared Statements …

◆ BindParameterCount()

void ccsq3lite::Sq3StmtC::BindParameterCount ( )
inline

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

Definition at line 71 of file Sq3StmtC_inline_cc.hh.

71 {
72 MK_UNUSED auto sq3stmt = getSTMT();
73 enum MkErrorE errVal = Sq3StmtBindParameterCount(sq3stmt);
74 MkErrorC_Check(sq3stmt, errVal);
75 }
static enum MkErrorE Sq3StmtBindParameterCount(SQ3_STMT sq3stmt)
Number Of SQL Parameters …

◆ BindParameterIndex() [1/2]

void ccsq3lite::Sq3StmtC::BindParameterIndex ( const std::string & zName)
inline

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

Definition at line 85 of file Sq3StmtC_inline_cc.hh.

85 {
86 MK_UNUSED auto sq3stmt = getSTMT();
87 const MK_STRN zName_hdl = zName.c_str();
88 enum MkErrorE errVal = Sq3StmtBindParameterIndex(sq3stmt, zName_hdl);
89 MkErrorC_Check(sq3stmt, errVal);
90 }
const MK_STRB * MK_STRN
static enum MkErrorE Sq3StmtBindParameterIndex(SQ3_STMT sq3stmt, MK_STRN zName)
Index Of A Parameter With A Given Name …

◆ BindParameterIndex() [2/2]

void ccsq3lite::Sq3StmtC::BindParameterIndex ( MK_STRN zName)
inline

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

Definition at line 78 of file Sq3StmtC_inline_cc.hh.

78 {
79 MK_UNUSED auto sq3stmt = getSTMT();
80 enum MkErrorE errVal = Sq3StmtBindParameterIndex(sq3stmt, zName);
81 MkErrorC_Check(sq3stmt, errVal);
82 }

◆ BindParameterName()

MK_STRN ccsq3lite::Sq3StmtC::BindParameterName ( MK_I32 arg1)
inline

C++: MK_STRN sq3stmt.BindParameterName(MK_I32 arg1) C-API
Name Of A Host Parameter …

Definition at line 93 of file Sq3StmtC_inline_cc.hh.

93 {
94 MK_UNUSED auto sq3stmt = getSTMT();
95 MK_STRN __retVal__L = Sq3StmtBindParameterName(sq3stmt, arg1);
96 return __retVal__L;
97 }
static MK_STRN Sq3StmtBindParameterName(SQ3_STMT sq3stmt, MK_I32 arg1)
Name Of A Host Parameter …

◆ BindText()

void ccsq3lite::Sq3StmtC::BindText ( MK_I32 pos,
const std::string & text )
inline

C++: sq3stmt.BindText(MK_I32 pos, const std::string& text) C-API
Bind a MkStringR Value To a Prepared Statement …

Definition at line 100 of file Sq3StmtC_inline_cc.hh.

100 {
101 MK_UNUSED auto sq3stmt = getSTMT();
102 const MkStringR text_ref = MkStringCreate((MK_NUM)text.size(),text.c_str());
103 enum MkErrorE errVal = Sq3StmtBindText(sq3stmt, pos, text_ref);
104 MkErrorC_Check(sq3stmt, errVal);
105 }
static MkStringR MkStringCreate(MK_NUM len, MK_STRN str)
int32_t MK_NUM
#define Sq3StmtBindText(...)

◆ BindValue() [1/2]

void ccsq3lite::Sq3StmtC::BindValue ( MK_I32 arg1,
const Sq3ValueC & arg2 )
inline

C++: sq3stmt.BindValue(MK_I32 arg1, const Sq3ValueC* arg2) C-API
Binding Values To Prepared Statements …

Definition at line 116 of file Sq3StmtC_inline_cc.hh.

116 {
117 MK_UNUSED auto sq3stmt = getSTMT();
118 const SQ3_VALN arg2_hdl = Sq3ValueC::getVALN(arg2);
119 enum MkErrorE errVal = Sq3StmtBindValue(sq3stmt, arg1, arg2_hdl);
120 MkErrorC_Check(sq3stmt, errVal);
121 }
static enum MkErrorE Sq3StmtBindValue(SQ3_STMT sq3stmt, MK_I32 arg1, SQ3_VALN arg2)
Binding Values To Prepared Statements …
SQ3_VALN getVALN() const
(const) return the LibMsgqueObject from current Sq3ValueC instance
const struct Sq3ValueS * SQ3_VALN
class-shortcut for const struct Sq3ValueS *, all const shortcut using the XX_YYYC syntax (only for pu...

◆ BindValue() [2/2]

void ccsq3lite::Sq3StmtC::BindValue ( MK_I32 arg1,
const Sq3ValueC * arg2 )
inline

C++: sq3stmt.BindValue(MK_I32 arg1, const Sq3ValueC* arg2) C-API
Binding Values To Prepared Statements …

Definition at line 108 of file Sq3StmtC_inline_cc.hh.

108 {
109 MK_UNUSED auto sq3stmt = getSTMT();
110 SQ3_VALN arg2_hdl = Sq3ValueC::getVALN(arg2);
111 enum MkErrorE errVal = Sq3StmtBindValue(sq3stmt, arg1, arg2_hdl);
112 MkErrorC_Check(sq3stmt, errVal);
113 }

◆ BindZeroblob()

void ccsq3lite::Sq3StmtC::BindZeroblob ( MK_I32 arg1,
MK_I32 n )
inline

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

Definition at line 124 of file Sq3StmtC_inline_cc.hh.

124 {
125 MK_UNUSED auto sq3stmt = getSTMT();
126 enum MkErrorE errVal = Sq3StmtBindZeroblob(sq3stmt, arg1, n);
127 MkErrorC_Check(sq3stmt, errVal);
128 }
static enum MkErrorE Sq3StmtBindZeroblob(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I32 n)
Binding Values To Prepared Statements …

◆ BindZeroblob64()

void ccsq3lite::Sq3StmtC::BindZeroblob64 ( MK_I32 arg1,
MK_I64 arg2 )
inline

C++: sq3stmt.BindZeroblob64(MK_I32 arg1, MK_I64 arg2) C-API
Binding Values To Prepared Statements …

Definition at line 131 of file Sq3StmtC_inline_cc.hh.

131 {
132 MK_UNUSED auto sq3stmt = getSTMT();
133 enum MkErrorE errVal = Sq3StmtBindZeroblob64(sq3stmt, arg1, arg2);
134 MkErrorC_Check(sq3stmt, errVal);
135 }
static enum MkErrorE Sq3StmtBindZeroblob64(SQ3_STMT sq3stmt, MK_I32 arg1, MK_I64 arg2)
Binding Values To Prepared Statements …