Qore SqlUtil Module Reference
1.2
|
Variables | |
const | SqlUtil::COP_APPEND = "append" |
to append a string to a column on output More... | |
const | SqlUtil::COP_AS = "as" |
to rename a column on output More... | |
const | SqlUtil::COP_AVG = "avg" |
to return the average value More... | |
const | SqlUtil::COP_COUNT = "count" |
to return the row count More... | |
const | SqlUtil::COP_DISTINCT = "distinct" |
to return distinct values More... | |
const | SqlUtil::COP_DIVIDE = "divide" |
the SQL "divide" operator More... | |
const | SqlUtil::COP_LOWER = "lower" |
to return column value in lower case More... | |
const | SqlUtil::COP_MAX = "max" |
to return the maximum value More... | |
const | SqlUtil::COP_MIN = "min" |
to return the minimum value More... | |
const | SqlUtil::COP_MINUS = "minus" |
the SQL "minus" operator More... | |
const | SqlUtil::COP_MULTIPLY = "multiply" |
the SQL "multiply" operator More... | |
const | SqlUtil::COP_OVER = "over" |
the SQL "over" clause More... | |
const | SqlUtil::COP_PLUS = "plus" |
the SQL "minus" operator More... | |
const | SqlUtil::COP_PREPEND = "prepend" |
to prepend a string to a column on output More... | |
const | SqlUtil::COP_SEQ = "seq" |
to return the value of a sequence More... | |
const | SqlUtil::COP_UPPER = "upper" |
to return column value in upper case More... | |
const | SqlUtil::COP_VALUE = "value" |
to append a constant value to use as an output column value More... | |
const | SqlUtil::COP_YEAR = "year" |
to return a date value with year information only More... | |
const | SqlUtil::COP_YEAR_DAY = "year_day" |
to return a date value with year to day information More... | |
const | SqlUtil::COP_YEAR_HOUR = "year_hour" |
to return a date value with year to hextern information More... | |
const | SqlUtil::COP_YEAR_MONTH = "year_month" |
to return a date value with year to month information More... | |
const | SqlUtil::DefaultCopMap |
a hash of default column operator descriptions | |
These are the operators that can be used in the "columns"
argument for select statements
const SqlUtil::COP_APPEND = "append" |
to append a string to a column on output
const SqlUtil::COP_AS = "as" |
to rename a column on output
const SqlUtil::COP_AVG = "avg" |
to return the average value
const SqlUtil::COP_COUNT = "count" |
to return the row count
const SqlUtil::COP_DISTINCT = "distinct" |
to return distinct values
const SqlUtil::COP_DIVIDE = "divide" |
the SQL "divide"
operator
const SqlUtil::COP_LOWER = "lower" |
to return column value in lower case
const SqlUtil::COP_MAX = "max" |
to return the maximum value
const SqlUtil::COP_MIN = "min" |
to return the minimum value
const SqlUtil::COP_MINUS = "minus" |
the SQL "minus"
operator
const SqlUtil::COP_MULTIPLY = "multiply" |
the SQL "multiply"
operator
const SqlUtil::COP_OVER = "over" |
the SQL "over"
clause
const SqlUtil::COP_PLUS = "plus" |
the SQL "minus"
operator
const SqlUtil::COP_PREPEND = "prepend" |
to prepend a string to a column on output
const SqlUtil::COP_SEQ = "seq" |
to return the value of a sequence
const SqlUtil::COP_UPPER = "upper" |
to return column value in upper case
const SqlUtil::COP_VALUE = "value" |
to append a constant value to use as an output column value
const SqlUtil::COP_YEAR = "year" |
to return a date value with year information only
const SqlUtil::COP_YEAR_DAY = "year_day" |
to return a date value with year to day information
const SqlUtil::COP_YEAR_HOUR = "year_hour" |
to return a date value with year to hextern information
const SqlUtil::COP_YEAR_MONTH = "year_month" |
to return a date value with year to month information