![]() |
Qore CdsRestDataProvider Module Reference 2.0.0
|
Functions | |
hash< QueryOperatorInfo > | CDSRestDataProvider::query_make_op (string op, auto arg) |
hash< QueryOperatorInfo > | CDSRestDataProvider::query_op_contains (string str) |
returns an QueryOperatorInfo hash for the "contains" operator with the given argument for use in cds queries | |
hash< QueryOperatorInfo > | CDSRestDataProvider::query_op_eq (auto arg) |
returns an QueryOperatorInfo hash for the "=" operator with the given argument for use in cds queries when comparing column values to immediate values | |
hash< QueryOperatorInfo > | CDSRestDataProvider::query_op_ge (auto arg) |
returns an QueryOperatorInfo hash for the ">=" operator with the given argument for use in cds queries when comparing column values to immediate values | |
hash< QueryOperatorInfo > | CDSRestDataProvider::query_op_gt (auto arg) |
returns an QueryOperatorInfo hash for the ">" operator with the given argument for use in cds queries when comparing column values to immediate values | |
hash< QueryOperatorInfo > | CDSRestDataProvider::query_op_le (auto arg) |
returns an QueryOperatorInfo hash for the "<=" operator with the given argument for use in cds queries when comparing column values to immediate values | |
hash< QueryOperatorInfo > | CDSRestDataProvider::query_op_like (string str) |
returns an QueryOperatorInfo hash for the "contains" operator with the given argument for use in cds queries | |
hash< QueryOperatorInfo > | CDSRestDataProvider::query_op_lt (auto arg) |
returns an QueryOperatorInfo hash for the "<" operator with the given argument for use in cds queries when comparing column values to immediate values | |
hash< QueryOperatorInfo > | CDSRestDataProvider::query_op_ne (auto arg) |
returns an QueryOperatorInfo hash for the "!=" or "<>" operator with the given argument for use in cds queries when comparing column values to immediate values | |
hash< QueryOperatorInfo > | CDSRestDataProvider::query_op_not (hash arg) |
returns an QueryOperatorInfo hash for the "not" operator; for use in cds queries | |
hash< string, hash< QueryOperatorInfo > > | CDSRestDataProvider::query_wop_or (hash< auto > h1, hash< auto > h2) |
returns an QueryOperatorInfo hash with a fake "_OR_" column name; the list of arguments to the function is combined such that each hash in the list generates SQL expressions combined with "and" logic, and each of those clauses is combined with "or" logic; this is for use in cds queries | |
These are the operators that can be used in CDS queries
"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"or"
hash< QueryOperatorInfo > CDSRestDataProvider::query_make_op | ( | string | op, |
auto | arg | ||
) |
returns an QueryOperatorInfo hash
hash< QueryOperatorInfo > CDSRestDataProvider::query_op_contains | ( | string | str | ) |
returns an QueryOperatorInfo hash for the "contains"
operator with the given argument for use in cds queries
str | the argument for the operator |
hash< QueryOperatorInfo > CDSRestDataProvider::query_op_eq | ( | auto | arg | ) |
returns an QueryOperatorInfo hash for the "="
operator with the given argument for use in cds queries when comparing column values to immediate values
arg | the argument for the operator |
hash< QueryOperatorInfo > CDSRestDataProvider::query_op_ge | ( | auto | arg | ) |
returns an QueryOperatorInfo hash for the ">="
operator with the given argument for use in cds queries when comparing column values to immediate values
arg | the argument for the operator |
hash< QueryOperatorInfo > CDSRestDataProvider::query_op_gt | ( | auto | arg | ) |
returns an QueryOperatorInfo hash for the ">"
operator with the given argument for use in cds queries when comparing column values to immediate values
arg | the argument for the operator |
hash< QueryOperatorInfo > CDSRestDataProvider::query_op_le | ( | auto | arg | ) |
returns an QueryOperatorInfo hash for the "<="
operator with the given argument for use in cds queries when comparing column values to immediate values
arg | the argument for the operator |
hash< QueryOperatorInfo > CDSRestDataProvider::query_op_like | ( | string | str | ) |
returns an QueryOperatorInfo hash for the "contains"
operator with the given argument for use in cds queries
str | the argument for the operator |
hash< QueryOperatorInfo > CDSRestDataProvider::query_op_lt | ( | auto | arg | ) |
returns an QueryOperatorInfo hash for the "<"
operator with the given argument for use in cds queries when comparing column values to immediate values
arg | the argument for the operator |
hash< QueryOperatorInfo > CDSRestDataProvider::query_op_ne | ( | auto | arg | ) |
returns an QueryOperatorInfo hash for the "!="
or "<>"
operator with the given argument for use in cds queries when comparing column values to immediate values
arg | the argument for the operator |
hash< QueryOperatorInfo > CDSRestDataProvider::query_op_not | ( | hash | arg | ) |
returns an QueryOperatorInfo hash for the "not"
operator; for use in cds queries
hash< string, hash< QueryOperatorInfo > > CDSRestDataProvider::query_wop_or | ( | hash< auto > | h1, |
hash< auto > | h2 | ||
) |
returns an QueryOperatorInfo hash with a fake "_OR_"
column name; the list of arguments to the function is combined such that each hash in the list generates SQL expressions combined with "and" logic, and each of those clauses is combined with "or" logic; this is for use in cds queries
h1 | the first hash of expressions to combine with "or" logic |
h2 | the second hash of expressions to combine with "or" logic |
... | remaining expressions to combine with "or" logic |
"_OR_"
with a numeric prefix for uniqueness) for use in a where operation description hash for use in cds queries