Qore SqlUtil Module Reference
1.3
|
Functions | |
hash | SqlUtil::make_uop (string uop, any arg, *hash nest) |
returns a hash with uop , arg , and nest keys More... | |
hash | SqlUtil::uop_append (string arg, *hash nest) |
returns a hash for the "append" or concatenate operator with the given argument More... | |
hash | SqlUtil::uop_divide (any arg, *hash nest) |
returns a hash for the "/" operator with the given arguments More... | |
hash | SqlUtil::uop_lower (*hash nest) |
returns a hash for the "lower" operator with the given argument; returns a column value in lower case More... | |
hash | SqlUtil::uop_minus (any arg, *hash nest) |
returns a hash for the "-" operator with the given arguments More... | |
hash | SqlUtil::uop_multiply (any arg, *hash nest) |
returns a hash for the "*" operator with the given arguments More... | |
hash | SqlUtil::uop_plus (any arg, *hash nest) |
returns a hash for the "+" operator with the given arguments More... | |
hash | SqlUtil::uop_prepend (string arg, *hash nest) |
returns a hash for the "prepend" operator with the given argument More... | |
hash | SqlUtil::uop_seq (string seq) |
returns a hash for the "seq" operator with the given argument giving the sequence name whose value should be returned More... | |
hash | SqlUtil::uop_seq_currval (string seq) |
returns a hash for the "seq" operator with the given argument giving the sequence name whose current value should be returned More... | |
hash | SqlUtil::uop_substr (int start, *int count, *hash nest) |
returns a hash for the "substr" operator with the given arguments; returns a substring of a column value More... | |
hash | SqlUtil::uop_upper (*hash nest) |
returns a hash for the "upper" operator with the given argument; returns a column value in upper case More... | |
These are functions that can be used as the values of update keys in select statements:
Update operator functions can be nested as in the following example:
returns a hash with uop
, arg
, and nest
keys
uop | the update operator (one of SQL Update Operators) |
arg | the argument to the operator |
nest | any nested operation to the operator |
returns a hash for the "append"
or concatenate operator with the given argument
arg | the text to prepend to the row values in the output column |
nest | any nested operation to the operator |
returns a hash for the "/"
operator with the given arguments
arg | numeric value to divide the column by |
nest | any nested operation to the operator |
returns a hash for the "lower"
operator with the given argument; returns a column value in lower case
nest | any nested operation to the operator |
returns a hash for the "-"
operator with the given arguments
arg | numeric value to subtract from the column |
nest | any nested operation to the operator |
returns a hash for the "*"
operator with the given arguments
arg | numeric value to multiply the column by |
nest | any nested operation to the operator |
returns a hash for the "+"
operator with the given arguments
arg | numeric value to add to the column |
nest | any nested operation to the operator |
returns a hash for the "prepend"
operator with the given argument
arg | the text to prepend to the row values in the output column |
nest | any nested operation to the operator |
returns a hash for the "seq"
operator with the given argument giving the sequence name whose value should be returned
seq | the name of the sequence whose value should be returned |
returns a hash for the "seq"
operator with the given argument giving the sequence name whose current value should be returned
seq | the name of the sequence whose current value should be returned |
returns a hash for the "substr"
operator with the given arguments; returns a substring of a column value
start | position where the substring starts |
count | length of the substring in characters |
nest | any nested operation to the operator |
returns a hash for the "upper"
operator with the given argument; returns a column value in upper case
nest | any nested operation to the operator |