Qore CdsRestDataProvider Module Reference 2.0.0
Loading...
Searching...
No Matches
CdsRestDataProviderDefs.qc.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
28public struct QueryOperatorInfo {
29 string op;
30 auto arg;
31};
32
33
39const QUERY_OP_CONTAINS = "contains";
40
42const QUERY_OP_ENDSWITH = "endswith";
43
45const QUERY_OP_STARTSWITH = "startswith";
46
48
50const QUERY_OP_LT = "lt";
51
53
55const QUERY_OP_LE = "le";
56
58
60const QUERY_OP_GT = "gt";
61
63
65const QUERY_OP_GE = "ge";
66
68
70const QUERY_OP_NE = "ne";
71
73
75const QUERY_OP_EQ = "eq";
76
78
80const QUERY_OP_NOT = "not";
81
83
85const QUERY_OP_OR = "or";
87
102 hash<QueryOperatorInfo> query_make_op(string op, auto arg);
103
104
106
115 hash<QueryOperatorInfo> query_op_like(string str);
116
117
119
128 hash<QueryOperatorInfo> query_op_contains(string str);
129
130
132
141 hash<QueryOperatorInfo> query_op_lt(auto arg);
142
143
145
154 hash<QueryOperatorInfo> query_op_le(auto arg);
155
156
158
167 hash<QueryOperatorInfo> query_op_gt(auto arg);
168
169
171
180 hash<QueryOperatorInfo> query_op_ge(auto arg);
181
182
184
191 hash<QueryOperatorInfo> query_op_ne(auto arg);
192
193
195
204 hash<QueryOperatorInfo> query_op_eq(auto arg);
205
206
208
215 hash<QueryOperatorInfo> query_op_not(hash arg);
216
217
219
234 hash<string, hash<QueryOperatorInfo>> query_wop_or(hash<auto> h1, hash<auto> h2);
235
237
240
242};
hash< QueryOperatorInfo > query_op_le(auto arg)
returns an QueryOperatorInfo hash for the "<=" operator with the given argument for use in cds querie...
hash< QueryOperatorInfo > query_op_lt(auto arg)
returns an QueryOperatorInfo hash for the "<" operator with the given argument for use in cds queries...
hash< QueryOperatorInfo > query_op_gt(auto arg)
returns an QueryOperatorInfo hash for the ">" operator with the given argument for use in cds queries...
hash< QueryOperatorInfo > query_op_like(string str)
returns an QueryOperatorInfo hash for the "contains" operator with the given argument for use in cds ...
hash< QueryOperatorInfo > query_op_ge(auto arg)
returns an QueryOperatorInfo hash for the ">=" operator with the given argument for use in cds querie...
hash< QueryOperatorInfo > query_op_not(hash arg)
returns an QueryOperatorInfo hash for the "not" operator; for use in cds queries
hash< QueryOperatorInfo > query_op_ne(auto arg)
returns an QueryOperatorInfo hash for the "!=" or "<>" operator with the given argument for use in cd...
hash< QueryOperatorInfo > query_op_eq(auto arg)
returns an QueryOperatorInfo hash for the "=" operator with the given argument for use in cds queries...
hash< QueryOperatorInfo > query_make_op(string op, auto arg)
hash< string, hash< QueryOperatorInfo > > 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 functi...
hash< QueryOperatorInfo > query_op_contains(string str)
returns an QueryOperatorInfo hash for the "contains" operator with the given argument for use in cds ...
const QUERY_OP_ENDSWITH
like/contains operator
Definition CdsRestDataProviderDefs.qc.dox.h:42
const QUERY_OP_EQ
the Query equals operator (=) for use in queries
Definition CdsRestDataProviderDefs.qc.dox.h:75
const QUERY_OP_OR
to combine Query expressions with "or" for use in queries
Definition CdsRestDataProviderDefs.qc.dox.h:85
const QUERY_OP_LE
the Query less than or equals (<=) operator for use in queries
Definition CdsRestDataProviderDefs.qc.dox.h:55
const QUERY_OP_GE
the Query greater than or equals operator (>=) for use in queries
Definition CdsRestDataProviderDefs.qc.dox.h:65
const QUERY_OP_STARTSWITH
like/contains operator
Definition CdsRestDataProviderDefs.qc.dox.h:45
const QUERY_OP_NE
the Query not equals operator (!= or <>) for use in queries
Definition CdsRestDataProviderDefs.qc.dox.h:70
const QUERY_OP_NOT
the Query "not" operator for use in queries
Definition CdsRestDataProviderDefs.qc.dox.h:80
const QUERY_OP_GT
the Query greater than operator (>) for use in queries
Definition CdsRestDataProviderDefs.qc.dox.h:60
const QUERY_OP_LT
the Query less than (<) operator for use in queries
Definition CdsRestDataProviderDefs.qc.dox.h:50
const QUERY_OP_CONTAINS
Definition CdsRestDataProviderDefs.qc.dox.h:39
Qore CDSRestDataProviderDefs definitions.
Definition CdsRestDataProviderDefs.qc.dox.h:26
const DefaultQueryOpMap
a hash of valid operators for use in queries
Definition CdsRestDataProviderDefs.qc.dox.h:239
Query operator info hash as returned by all operator functions.
Definition CdsRestDataProviderDefs.qc.dox.h:28
string op
the operator string code
Definition CdsRestDataProviderDefs.qc.dox.h:29
auto arg
optional argument
Definition CdsRestDataProviderDefs.qc.dox.h:30