((m_Status &
fSet) != 0) {
73 if(m_Param->GetType() == param->
GetType()) {
75m_Param->AssignValue(*param);
80m_Param = param->
Clone();
83m_Param = param->
Clone();
102 for(param_num = 0; param_num <
m_Params.size(); ++param_num) {
117 unsigned intparam_no = 0;
131 if(!param_name.empty()) {
137 return(
unsigned int)(
m_Params.size() - 1);
155 m_Params[param_no].Bind(param_name, param, is_out);
164 m_Params[param_no].Set(param_name, param, is_out);
174 result->m_Params.push_back(empty_param);
179: it->m_Param->ShallowClone());
195 size_tname_len = name.length();
196 size_tval_len =
val.length();
200 for(
size_tpos = 0; pos <
len; pos++) {
211&& (pos == 0 || !
isalnum((
unsigned char)
result[pos - 1]))
212&& (pos + name_len >=
result.size()
214&&
result[pos + name_len] !=
'_')))
bool GetParamNumInternal(const string ¶m_name, unsigned int ¶m_num) const
bool BindParam(unsigned int param_no, const string ¶m_name, CDB_Object *param, bool is_out=false)
bool IsLocked(void) const
bool SetParam(unsigned int param_no, const string ¶m_name, CDB_Object *param, bool is_out=false)
CDB_Params * SemiShallowClone(void) const
Yield a lightweight copy of these parameters, sharing representations for variable-length datatypes.
unsigned int GetParamNum(const string ¶m_name) const
This method will throw an exception if parameter's name doesn't exist.
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define DATABASE_DRIVER_ERROR(message, err_code)
#define CHECK_DRIVER_ERROR(failed, message, err_code)
virtual EDB_Type GetType() const =0
virtual CDB_Object * Clone() const =0
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static int Compare(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2, ECase use_case=eCase)
Compare of a substring with another string.
Definition of all error codes used in dbapi libraries (dbapi_driver.lib and others).
string g_SubstituteParam(const string &query, const string &name, const string &val)
Miscellaneous common-use basic types and functionality.
void Set(const string ¶m_name, CDB_Object *param, bool is_out=false)
void Bind(const string ¶m_name, CDB_Object *param, bool is_out=false)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4