Qore SqlUtil Module Reference
1.2
|
Functions | |
hash | SqlUtil::make_op (string op, any arg) |
returns a hash with op and arg keys | |
hash | SqlUtil::op_between (any l, any r) |
returns a hash for the "between" operator with the given arguments, neither of which can be NULL or NOTHING; for use in where clauses More... | |
hash | SqlUtil::op_ceq (string arg) |
returns a hash for the "=" operator with the given argument for use in where clauses when comparing the values of two columns More... | |
hash | SqlUtil::op_cge (string arg) |
returns a hash for the ">=" operator with the given argument for use in where clauses when comparing the values of two columns More... | |
hash | SqlUtil::op_cgt (string arg) |
returns a hash for the ">" operator with the given argument for use in where clauses when comparing the values of two columns More... | |
hash | SqlUtil::op_cle (string arg) |
returns a hash for the "<=" operator with the given argument for use in where clauses when comparing the values of two columns More... | |
hash | SqlUtil::op_clt (string arg) |
returns a hash for the "<" operator with the given argument for use in where clauses when comparing the values of two columns More... | |
hash | SqlUtil::op_cne (string arg) |
returns a hash for the "!=" or "<>" operator with the given argument for use in where clauses when comparing the values of two columns More... | |
hash | SqlUtil::op_eq (any arg) |
returns a hash for the "=" operator with the given argument for use in where clauses when comparing column values to immediate values More... | |
hash | SqlUtil::op_ge (any arg) |
returns a hash for the ">=" operator with the given argument for use in where clauses when comparing column values to immediate values More... | |
hash | SqlUtil::op_gt (any arg) |
returns a hash for the ">" operator with the given argument for use in where clauses when comparing column values to immediate values More... | |
hash | SqlUtil::op_in () |
returns a hash for the "in" operator with all arguments passed to the function; for use in where clauses More... | |
hash | SqlUtil::op_in (list args) |
returns a hash for the "in" operator with the given argument list as the first argument; for use in where clauses More... | |
hash | SqlUtil::op_le (any arg) |
returns a hash for the "<=" operator with the given argument for use in where clauses when comparing column values to immediate values More... | |
hash | SqlUtil::op_like (string str) |
returns a hash for the "like" operator with the given argument for use in where clauses More... | |
hash | SqlUtil::op_lt (any arg) |
returns a hash for the "<" operator with the given argument for use in where clauses when comparing column values to immediate values More... | |
hash | SqlUtil::op_ne (any arg) |
returns a hash for the "!=" or "<>" operator with the given argument for use in where clauses when comparing column values to immediate values More... | |
hash | SqlUtil::op_not (hash arg) |
returns a hash for the "not" operator; for use in where clauses More... | |
These are the operators that can be used in where clauses; see Where Clauses for more information:
"between"
operator"in"
operator"like"
operator">="
operator when comparing column values to immediate values">"
operator when comparing column values to immediate values"<="
operator when comparing column values to immediate values"<"
operator when comparing column values to immediate values"!="
or "<>"
operator when comparing column values to immediate values"="
operator when comparing column values to immediate values">="
operator when comparing the values of two columns">"
operator when comparing the values of two columns"<="
operator when comparing the values of two columns"<"
operator when comparingthe values of two columns"!="
or "<>"
operator when comparing the values of two columns"="
operator when comparing the values of two columns hash SqlUtil::op_between | ( | any | l, |
any | r | ||
) |
returns a hash for the "between"
operator with the given arguments, neither of which can be NULL or NOTHING; for use in where clauses
l | the lower bound for the "between" operator |
r | the upper bound for the "between" operator |
returns a hash for the "="
operator with the given argument for use in where clauses when comparing the values of two columns
arg | the name of the column to compare against |
returns a hash for the ">="
operator with the given argument for use in where clauses when comparing the values of two columns
arg | the name of the column to compare against |
returns a hash for the ">"
operator with the given argument for use in where clauses when comparing the values of two columns
arg | the name of the column to compare against |
returns a hash for the "<="
operator with the given argument for use in where clauses when comparing the values of two columns
arg | the name of the column to compare against |
returns a hash for the "<"
operator with the given argument for use in where clauses when comparing the values of two columns
arg | the name of the column to compare against |
returns a hash for the "!="
or "<>"
operator with the given argument for use in where clauses when comparing the values of two columns
arg | the name of the column to compare against |
hash SqlUtil::op_eq | ( | any | arg | ) |
returns a hash for the "="
operator with the given argument for use in where clauses when comparing column values to immediate values
arg | the argument for the operator |
hash SqlUtil::op_ge | ( | any | arg | ) |
returns a hash for the ">="
operator with the given argument for use in where clauses when comparing column values to immediate values
arg | the argument for the operator |
hash SqlUtil::op_gt | ( | any | arg | ) |
returns a hash for the ">"
operator with the given argument for use in where clauses when comparing column values to immediate values
arg | the argument for the operator |
hash SqlUtil::op_in | ( | ) |
returns a hash for the "in"
operator with all arguments passed to the function; for use in where clauses
returns a hash for the "in"
operator with the given argument list as the first argument; for use in where clauses
args | a list of values for the "in" operator |
hash SqlUtil::op_le | ( | any | arg | ) |
returns a hash for the "<="
operator with the given argument for use in where clauses when comparing column values to immediate values
arg | the argument for the operator |
returns a hash for the "like"
operator with the given argument for use in where clauses
str | the argument for the operator |
hash SqlUtil::op_lt | ( | any | arg | ) |
returns a hash for the "<"
operator with the given argument for use in where clauses when comparing column values to immediate values
arg | the argument for the operator |
hash SqlUtil::op_ne | ( | any | arg | ) |
returns a hash for the "!="
or "<>"
operator with the given argument for use in where clauses when comparing column values to immediate values
arg | the argument for the operator |
returns a hash for the "not"
operator; for use in where clauses