Qore SalesforceRestDataProvider Module Reference  1.0.1
SalesforceRestDataProviderDefs.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
25 // minimum required Qore version
26 // assume local scope for variables, do not use "$" signs
27 // require type definitions everywhere
29 // enable all warnings
30 
34 public struct SoqlOperatorInfo {
35  string op;
36  auto arg;
37 };
38 
40 public struct SoqlColumnOperatorInfo {
41  string cop;
42  auto column;
43  auto arg;
44 };
45 
50 
53 const SOQL_COP_MIN = "min";
54 
56 
58 const SOQL_COP_MAX = "max";
59 
61 
63 const SOQL_COP_AVG = "avg";
64 
66 
68 const SOQL_COP_SUM = "sum";
69 
71 
73 const SOQL_COP_COUNT = "count";
74 
76 
78 const SOQL_COP_COUNT_DISTINCT = "count_distinct";
79 
81 
83 const SOQL_COP_FORMAT = "format";
84 
86 
88 const SOQL_COP_CONVERT_CURRENCY = "convert_currency";
89 
91 
93 const SOQL_COP_CALENDAR_MONTH = "calendar_month";
94 
96 
98 const SOQL_COP_CALENDAR_QUARTER = "calendar_quarter";
99 
101 
103 const SOQL_COP_CALENDAR_YEAR = "calendar_year";
104 
106 
108 const SOQL_COP_DAY_IN_MONTH = "day_in_month";
109 
111 
113 const SOQL_COP_DAY_IN_WEEK = "day_in_week";
114 
116 
118 const SOQL_COP_DAY_IN_YEAR = "day_in_year";
119 
121 
123 const SOQL_COP_DAY_ONLY = "day_only";
124 
126 
128 const SOQL_COP_FISCAL_MONTH = "fiscal_month";
129 
131 
133 const SOQL_COP_FISCAL_QUARTER = "fiscal_quarter";
134 
136 
138 const SOQL_COP_FISCAL_YEAR = "fiscal_year";
139 
141 
143 const SOQL_COP_HOUR_IN_DAY = "hour_in_day";
144 
146 
148 const SOQL_COP_WEEK_IN_MONTH = "week_in_month";
149 
151 
153 const SOQL_COP_WEEK_IN_YEAR = "week_in_year";
154 
157  SOQL_COP_MIN: (
158  "code": string (string cve, auto arg) {
159  return sprintf("min(%s)", cve);
160  },
161  "group": True,
162  ),
163  SOQL_COP_MAX: (
164  "code": string (string cve, auto arg) {
165  return sprintf("max(%s)", cve);
166  },
167  "group": True,
168  ),
169  SOQL_COP_AVG: (
170  "code": string (string cve, auto arg) {
171  return sprintf("avg(%s)", cve);
172  },
173  "group": True,
174  ),
175  SOQL_COP_SUM: (
176  "code": string (string cve, auto arg) {
177  return sprintf("sum(%s)", cve);
178  },
179  ),
180  SOQL_COP_COUNT: (
181  "nocolumn": True,
182  "code": string (*string cve, auto arg) {
183  return sprintf("count(%s)", cve);
184  },
185  ),
187  "code": string (string cve, auto arg) {
188  return sprintf("count_distinct %s", cve);
189  },
190  ),
191  SOQL_COP_FORMAT: {
192  "dostring": True,
193  "code": string (string cve, auto arg) {
194  return sprintf("format(%s)", cve);
195  },
196  },
198  "code": string (string cve, auto arg) {
199  return sprintf("convertCurrency(%s)", cve);
200  },
201  },
203  "code": string (string cve, auto arg) {
204  return sprintf("calendar_month(%s)", cve);
205  },
206  },
208  "code": string (string cve, auto arg) {
209  return sprintf("calendar_quarter(%s)", cve);
210  },
211  },
213  "code": string (string cve, auto arg) {
214  return sprintf("calendar_year(%s)", cve);
215  },
216  },
218  "code": string (string cve, auto arg) {
219  return sprintf("day_in_month(%s)", cve);
220  },
221  },
223  "code": string (string cve, auto arg) {
224  return sprintf("day_in_week(%s)", cve);
225  },
226  },
228  "code": string (string cve, auto arg) {
229  return sprintf("day_in_year(%s)", cve);
230  },
231  },
233  "code": string (string cve, auto arg) {
234  return sprintf("day_only(%s)", cve);
235  },
236  },
238  "code": string (string cve, auto arg) {
239  return sprintf("fiscal_month(%s)", cve);
240  },
241  },
243  "code": string (string cve, auto arg) {
244  return sprintf("fiscal_quarter(%s)", cve);
245  },
246  },
248  "code": string (string cve, auto arg) {
249  return sprintf("fiscal_year(%s)", cve);
250  },
251  },
253  "code": string (string cve, auto arg) {
254  return sprintf("hour_in_day(%s)", cve);
255  },
256  },
258  "code": string (string cve, auto arg) {
259  return sprintf("week_in_month(%s)", cve);
260  },
261  },
263  "code": string (string cve, auto arg) {
264  return sprintf("week_in_year(%s)", cve);
265  },
266  },
267 };
269 
274 const SOQL_OP_LIKE = "like";
276 
278 
280 const SOQL_OP_IN = "in";
281 
283 
285 const SOQL_OP_NOT_IN = "not in";
286 
288 
290 const SOQL_OP_LT = "<";
291 
293 
295 const SOQL_OP_LE = "<=";
296 
298 
300 const SOQL_OP_GT = ">";
301 
303 
305 const SOQL_OP_GE = ">=";
306 
308 
310 const SOQL_OP_NE = "!=";
311 
313 
315 const SOQL_OP_EQ = "=";
316 
318 
320 const SOQL_OP_NOT = "not";
321 
323 
325 const SOQL_OP_OR = "or";
327 
353 
363  hash<SoqlColumnOperatorInfo> soql_make_cop(string cop, auto column, auto arg);
364 
365 
367 
377  hash<SoqlColumnOperatorInfo> soql_cop_min(auto column);
378 
379 
381 
391  hash<SoqlColumnOperatorInfo> soql_cop_max(auto column);
392 
393 
395 
405  hash<SoqlColumnOperatorInfo> soql_cop_avg(auto column);
406 
407 
409 
419  hash<SoqlColumnOperatorInfo> soql_cop_sum(auto column);
420 
421 
423 
431  hash<SoqlColumnOperatorInfo> soql_cop_count_distinct(auto column = '');
432 
433 
435 
448  hash<SoqlColumnOperatorInfo> soql_cop_format(auto column);
449 
450 
452 
462  hash<SoqlColumnOperatorInfo> soql_cop_convert_currency(auto column);
463 
464 
466 
474  hash<SoqlColumnOperatorInfo> soql_cop_calendar_month(auto column);
475 
476 
478 
486  hash<SoqlColumnOperatorInfo> soql_cop_calendar_quarter(auto column);
487 
488 
490 
498  hash<SoqlColumnOperatorInfo> soql_cop_calendar_year(auto column);
499 
500 
502 
510  hash<SoqlColumnOperatorInfo> soql_cop_day_in_month(auto column);
511 
512 
514 
522  hash<SoqlColumnOperatorInfo> soql_cop_day_in_week(auto column);
523 
524 
526 
534  hash<SoqlColumnOperatorInfo> soql_cop_day_in_year(auto column);
535 
536 
538 
546  hash<SoqlColumnOperatorInfo> soql_cop_day_only(auto column);
547 
548 
550 
558  hash<SoqlColumnOperatorInfo> soql_cop_fiscal_month(auto column);
559 
560 
562 
570  hash<SoqlColumnOperatorInfo> soql_cop_fiscal_quarter(auto column);
571 
572 
574 
582  hash<SoqlColumnOperatorInfo> soql_cop_fiscal_year(auto column);
583 
584 
586 
594  hash<SoqlColumnOperatorInfo> soql_cop_hour_in_day(auto column);
595 
596 
598 
606  hash<SoqlColumnOperatorInfo> soql_cop_week_in_month(auto column);
607 
608 
610 
618  hash<SoqlColumnOperatorInfo> soql_cop_week_in_year(auto column);
620 
636  hash<SoqlOperatorInfo> soql_make_op(string op, auto arg);
638 
639 
641 
650  hash<SoqlOperatorInfo> soql_op_like(string str);
651 
652 
654 
663  hash<SoqlOperatorInfo> soql_op_lt(auto arg);
664 
665 
667 
676  hash<SoqlOperatorInfo> soql_op_le(auto arg);
677 
678 
680 
689  hash<SoqlOperatorInfo> soql_op_gt(auto arg);
690 
691 
693 
702  hash<SoqlOperatorInfo> soql_op_ge(auto arg);
703 
704 
706 
713  hash<SoqlOperatorInfo> soql_op_ne(auto arg);
714 
715 
717 
726  hash<SoqlOperatorInfo> soql_op_eq(auto arg);
727 
728 
730 
739  hash<SoqlOperatorInfo> soql_op_in();
740 
741 
743 
754  hash<SoqlOperatorInfo> soql_op_in(list<auto> args);
755 
756 
758 
767  hash<SoqlOperatorInfo> soql_op_not_in();
768 
769 
771 
782  hash<SoqlOperatorInfo> soql_op_not_in(list<auto> args);
783 
784 
786 
793  hash<SoqlOperatorInfo> soql_op_not(hash arg);
794 
795 
797 
816  hash<string, hash<SoqlOperatorInfo>> soql_wop_or(hash<auto> h1, hash<auto> h2);
817 
819 
822  SOQL_OP_LIKE: (
823  "code": string (object i, string cn, auto arg) {
824  return sprintf("%s like %s", cn, arg);
825  },
826  ),
827  SOQL_OP_LT: (
828  "code": string (object i, string cn, auto arg) {
829  return sprintf("%s < %s", cn, arg);
830  },
831  ),
832  SOQL_OP_LE: (
833  "code": string (object i, string cn, auto arg) {
834  return sprintf("%s <= %s", cn, arg);
835  },
836  ),
837  SOQL_OP_GT: (
838  "code": string (object i, string cn, auto arg) {
839  return sprintf("%s > %s", cn, arg);
840  },
841  ),
842  SOQL_OP_GE: (
843  "code": string (object i, string cn, auto arg) {
844  return sprintf("%s >= %s", cn, arg);
845  },
846  ),
847  SOQL_OP_NE: (
848  "code": string (object i, string cn, auto arg) {
849  return sprintf("%s != %s", cn, arg);
850  },
851  ),
852  SOQL_OP_EQ: (
853  "code": string (object i, string cn, auto arg) {
854  return sprintf("%s = %s", cn, arg);
855  },
856  ),
857  SOQL_OP_IN: (
858  "no_process_arg": True,
859  "code": string (object i, string cn, auto arg) {
860  *string ins = (foldl $1 + "," + $2, (map i.getArgValue(cn, $1), arg));
861  return sprintf("%s in (%s)", cn, ins);
862  },
863  ),
864  SOQL_OP_NOT_IN: (
865  "no_process_arg": True,
866  "code": string (object i, string cn, auto arg) {
867  *string ins = (foldl $1 + "," + $2, (map i.getArgValue(cn, $1), arg));
868  return sprintf("%s not in (%s)", cn, ins);
869  },
870  ),
871  SOQL_OP_NOT: (
872  "recursive": True,
873  "code": string (object i, string cn, auto arg) {
874  return sprintf("not (%s)", cn);
875  },
876  ),
877  SOQL_OP_OR: (
878  "code": string (object i, string cn, list<auto> arg) {
879  return i.getOrClause(arg);
880  },
881  ),
882 };
884 }
SalesforceRestDataProvider::SOQL_OP_EQ
const SOQL_OP_EQ
the SOQL equals operator (=) for use in where clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:315
SalesforceRestDataProvider::SOQL_COP_FISCAL_YEAR
const SOQL_COP_FISCAL_YEAR
to return the fiscal year of a date or date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:138
SalesforceRestDataProvider::soql_op_in
hash< SoqlOperatorInfo > soql_op_in()
returns an SoqlOperatorInfo hash for the "in" operator with all arguments passed to the function; for...
SalesforceRestDataProvider::SOQL_COP_COUNT_DISTINCT
const SOQL_COP_COUNT_DISTINCT
to return a count of distinct values
Definition: SalesforceRestDataProviderDefs.qc.dox.h:78
SalesforceRestDataProvider::soql_cop_hour_in_day
hash< SoqlColumnOperatorInfo > soql_cop_hour_in_day(auto column)
returns a SoqlColumnOperatorInfo hash for the "hour_in_day" function; returns the hextern in the day ...
SalesforceRestDataProvider::SOQL_COP_WEEK_IN_MONTH
const SOQL_COP_WEEK_IN_MONTH
to return the week in the month of a date or date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:148
SalesforceRestDataProvider::SoqlColumnOperatorInfo
column operator info hash as returned by all column operator functions
Definition: SalesforceRestDataProviderDefs.qc.dox.h:40
SalesforceRestDataProvider::SOQL_OP_OR
const SOQL_OP_OR
to combine SOQL expressions with "or" for use in where_clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:325
SalesforceRestDataProvider::SOQL_OP_LE
const SOQL_OP_LE
the SOQL less than or equals (<=) operator for use in where clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:295
SalesforceRestDataProvider::SOQL_OP_IN
const SOQL_OP_IN
the SOQL in operator for use in where clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:280
SalesforceRestDataProvider::SOQL_COP_WEEK_IN_YEAR
const SOQL_COP_WEEK_IN_YEAR
to return the week in the year of a date or date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:153
SalesforceRestDataProvider::DefaultSoqlOpMap
const DefaultSoqlOpMap
a hash of valid operators for use in where clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:821
SalesforceRestDataProvider::soql_cop_calendar_quarter
hash< SoqlColumnOperatorInfo > soql_cop_calendar_quarter(auto column)
returns a SoqlColumnOperatorInfo hash for the "calendar_quarter" function; returns the calendar quart...
string
string string(softstring str, *string enc)
SalesforceRestDataProvider::soql_cop_avg
hash< SoqlColumnOperatorInfo > soql_cop_avg(auto column)
returns a SoqlColumnOperatorInfo hash for the "avg" operator; returns average column values
SalesforceRestDataProvider::soql_cop_day_in_week
hash< SoqlColumnOperatorInfo > soql_cop_day_in_week(auto column)
returns a SoqlColumnOperatorInfo hash for the "day_in_week" function; returns the day in the week for...
SalesforceRestDataProvider::SOQL_COP_CALENDAR_QUARTER
const SOQL_COP_CALENDAR_QUARTER
to return the calendar quarter of a date or date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:98
SalesforceRestDataProvider::SOQL_COP_DAY_IN_WEEK
const SOQL_COP_DAY_IN_WEEK
to return the day in the week of a date or date/time value (1 = Sunday, 7 = Saturday)
Definition: SalesforceRestDataProviderDefs.qc.dox.h:113
SalesforceRestDataProvider::soql_op_not_in
hash< SoqlOperatorInfo > soql_op_not_in()
returns an SoqlOperatorInfo hash for the "not in" operator with all arguments passed to the function;...
SalesforceRestDataProvider::soql_op_le
hash< SoqlOperatorInfo > soql_op_le(auto arg)
returns an SoqlOperatorInfo hash for the "<=" operator with the given argument for use in salesforce ...
SalesforceRestDataProvider::soql_cop_day_only
hash< SoqlColumnOperatorInfo > soql_cop_day_only(auto column)
returns a SoqlColumnOperatorInfo hash for the "day_only" function; returns the date from a date/time ...
SalesforceRestDataProvider::soql_make_cop
hash< SoqlColumnOperatorInfo > soql_make_cop(string cop, auto column, auto arg)
returns a SoqlColumnOperatorInfo hash
SalesforceRestDataProvider::soql_op_gt
hash< SoqlOperatorInfo > soql_op_gt(auto arg)
returns an SoqlOperatorInfo hash for the ">" operator with the given argument for use in salesforce w...
True
const True
SalesforceRestDataProvider::SOQL_COP_DAY_IN_YEAR
const SOQL_COP_DAY_IN_YEAR
to return the day in the year of a date or date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:118
SalesforceRestDataProvider::SOQL_OP_LT
const SOQL_OP_LT
the SOQL less than (<) operator for use in where clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:290
SalesforceRestDataProvider::SOQL_COP_FORMAT
const SOQL_COP_FORMAT
to return the given column value in the default locale for number, date, time, and currency fields
Definition: SalesforceRestDataProviderDefs.qc.dox.h:83
SalesforceRestDataProvider::SOQL_COP_SUM
const SOQL_COP_SUM
to return the sum value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:68
SalesforceRestDataProvider::soql_cop_day_in_year
hash< SoqlColumnOperatorInfo > soql_cop_day_in_year(auto column)
returns a SoqlColumnOperatorInfo hash for the "day_in_year" function; returns the day in the year for...
SalesforceRestDataProvider::soql_cop_fiscal_year
hash< SoqlColumnOperatorInfo > soql_cop_fiscal_year(auto column)
returns a SoqlColumnOperatorInfo hash for the "fiscal_year" function; returns the fiscal year for a d...
SalesforceRestDataProvider::soql_op_lt
hash< SoqlOperatorInfo > soql_op_lt(auto arg)
returns an SoqlOperatorInfo hash for the "<" operator with the given argument for use in salesforce w...
SalesforceRestDataProvider::SoqlOperatorInfo::arg
auto arg
optional argument
Definition: SalesforceRestDataProviderDefs.qc.dox.h:36
SalesforceRestDataProvider::soql_op_ne
hash< SoqlOperatorInfo > soql_op_ne(auto arg)
returns an SoqlOperatorInfo hash for the "!=" or "<>" operator with the given argument for use in sal...
SalesforceRestDataProvider::SOQL_OP_NE
const SOQL_OP_NE
the SOQL not equals operator (!= or <>) for use in where clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:310
SalesforceRestDataProvider::soql_op_like
hash< SoqlOperatorInfo > soql_op_like(string str)
returns an SoqlOperatorInfo hash for the "like" operator with the given argument for use in salesforc...
SalesforceRestDataProvider::SOQL_OP_LIKE
const SOQL_OP_LIKE
like operator
Definition: SalesforceRestDataProviderDefs.qc.dox.h:275
SalesforceRestDataProvider::SoqlColumnOperatorInfo::arg
auto arg
optional argument
Definition: SalesforceRestDataProviderDefs.qc.dox.h:43
SalesforceRestDataProvider::soql_cop_fiscal_quarter
hash< SoqlColumnOperatorInfo > soql_cop_fiscal_quarter(auto column)
returns a SoqlColumnOperatorInfo hash for the "fiscal_quarter" function; returns the fiscal quarter f...
SalesforceRestDataProvider::DefaultSoqlCopMap
const DefaultSoqlCopMap
a hash of default column operator descriptions
Definition: SalesforceRestDataProviderDefs.qc.dox.h:156
SalesforceRestDataProvider::soql_cop_convert_currency
hash< SoqlColumnOperatorInfo > soql_cop_convert_currency(auto column)
returns a SoqlColumnOperatorInfo hash for the "convertCurrency" operator; returns the given column va...
SalesforceRestDataProvider::SOQL_OP_NOT
const SOQL_OP_NOT
the SOQL "not" operator for use in where_clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:320
SalesforceRestDataProvider::soql_cop_format
hash< SoqlColumnOperatorInfo > soql_cop_format(auto column)
returns a SoqlColumnOperatorInfo hash for the "format" operator; returns the given column value in th...
SalesforceRestDataProvider::soql_cop_week_in_month
hash< SoqlColumnOperatorInfo > soql_cop_week_in_month(auto column)
returns a SoqlColumnOperatorInfo hash for the "week_in_month" function; returns the week in the month...
SalesforceRestDataProvider::SOQL_OP_NOT_IN
const SOQL_OP_NOT_IN
the SOQL in operator for use in where clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:285
SalesforceRestDataProvider::soql_cop_week_in_year
hash< SoqlColumnOperatorInfo > soql_cop_week_in_year(auto column)
returns a SoqlColumnOperatorInfo hash for the "week_in_m=year" function; returns the week in the year...
SalesforceRestDataProvider::SOQL_COP_DAY_IN_MONTH
const SOQL_COP_DAY_IN_MONTH
to return the day in a month of a date or date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:108
hash
hash< auto > hash(object obj)
sprintf
string sprintf(string fmt,...)
SalesforceRestDataProvider::soql_cop_day_in_month
hash< SoqlColumnOperatorInfo > soql_cop_day_in_month(auto column)
returns a SoqlColumnOperatorInfo hash for the "day_in_month" function; returns the day in the month f...
SalesforceRestDataProvider::soql_cop_sum
hash< SoqlColumnOperatorInfo > soql_cop_sum(auto column)
returns a SoqlColumnOperatorInfo hash for the "sum" operator; returns the total sum of a numeric colu...
SalesforceRestDataProvider::soql_op_ge
hash< SoqlOperatorInfo > soql_op_ge(auto arg)
returns an SoqlOperatorInfo hash for the ">=" operator with the given argument for use in salesforce ...
SalesforceRestDataProvider::SOQL_COP_COUNT
const SOQL_COP_COUNT
to return the row count
Definition: SalesforceRestDataProviderDefs.qc.dox.h:73
SalesforceRestDataProvider::SOQL_COP_CONVERT_CURRENCY
const SOQL_COP_CONVERT_CURRENCY
to return the given column value in the default currency for the calling user
Definition: SalesforceRestDataProviderDefs.qc.dox.h:88
SalesforceRestDataProvider::SoqlOperatorInfo
SOQL operator info hash as returned by all operator functions.
Definition: SalesforceRestDataProviderDefs.qc.dox.h:34
SalesforceRestDataProvider::SOQL_COP_FISCAL_QUARTER
const SOQL_COP_FISCAL_QUARTER
to return the fiscal quarter of a date or date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:133
SalesforceRestDataProvider::SOQL_COP_FISCAL_MONTH
const SOQL_COP_FISCAL_MONTH
to return the fiscal month of a date or date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:128
SalesforceRestDataProvider::soql_wop_or
hash< string, hash< SoqlOperatorInfo > > soql_wop_or(hash< auto > h1, hash< auto > h2)
returns an SoqlOperatorInfo hash with a fake "_OR_" column name; the list of arguments to the functio...
SalesforceRestDataProvider
Qore SalesforceRestDataProvider module definition.
Definition: SalesforceRestDataProvider.qc.dox.h:32
SalesforceRestDataProvider::soql_cop_fiscal_month
hash< SoqlColumnOperatorInfo > soql_cop_fiscal_month(auto column)
returns a SoqlColumnOperatorInfo hash for the "fiscal_month" function; returns the fiscal month for a...
SalesforceRestDataProvider::SOQL_COP_MIN
const SOQL_COP_MIN
to return the minimum value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:53
SalesforceRestDataProvider::soql_op_not
hash< SoqlOperatorInfo > soql_op_not(hash arg)
returns an SoqlOperatorInfo hash for the "not" operator; for use in salesforce where clauses
SalesforceRestDataProvider::SoqlColumnOperatorInfo::cop
string cop
the column operator string code
Definition: SalesforceRestDataProviderDefs.qc.dox.h:41
SalesforceRestDataProvider::soql_cop_min
hash< SoqlColumnOperatorInfo > soql_cop_min(auto column)
returns a SoqlColumnOperatorInfo hash for the "min" operator; returns minimum column values
SalesforceRestDataProvider::soql_cop_max
hash< SoqlColumnOperatorInfo > soql_cop_max(auto column)
returns a SoqlColumnOperatorInfo hash for the "max" operator; returns maximum column values
SalesforceRestDataProvider::soql_cop_calendar_month
hash< SoqlColumnOperatorInfo > soql_cop_calendar_month(auto column)
returns a SoqlColumnOperatorInfo hash for the "calendar_month" function; returns the calendar month f...
SalesforceRestDataProvider::SOQL_OP_GT
const SOQL_OP_GT
the SOQL greater than operator (>) for use in where clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:300
SalesforceRestDataProvider::SOQL_COP_MAX
const SOQL_COP_MAX
to return the maximum value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:58
SalesforceRestDataProvider::soql_make_op
hash< SoqlOperatorInfo > soql_make_op(string op, auto arg)
returns an SoqlOperatorInfo hash
SalesforceRestDataProvider::SOQL_COP_CALENDAR_YEAR
const SOQL_COP_CALENDAR_YEAR
to return the calendar year of a date or date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:103
SalesforceRestDataProvider::SoqlOperatorInfo::op
string op
the operator string code
Definition: SalesforceRestDataProviderDefs.qc.dox.h:35
SalesforceRestDataProvider::SOQL_COP_DAY_ONLY
const SOQL_COP_DAY_ONLY
to return the date from a date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:123
SalesforceRestDataProvider::SOQL_COP_HOUR_IN_DAY
const SOQL_COP_HOUR_IN_DAY
to return the hextern in the day of a date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:143
SalesforceRestDataProvider::soql_op_eq
hash< SoqlOperatorInfo > soql_op_eq(auto arg)
returns an SoqlOperatorInfo hash for the "=" operator with the given argument for use in salesforce w...
SalesforceRestDataProvider::SOQL_OP_GE
const SOQL_OP_GE
the SOQL greater than or equals operator (>=) for use in where clauses
Definition: SalesforceRestDataProviderDefs.qc.dox.h:305
SalesforceRestDataProvider::SOQL_COP_CALENDAR_MONTH
const SOQL_COP_CALENDAR_MONTH
to return the calendar month of a date or date/time value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:93
SalesforceRestDataProvider::SoqlColumnOperatorInfo::column
auto column
column sopecifier, may be a string or a complex hash
Definition: SalesforceRestDataProviderDefs.qc.dox.h:42
SalesforceRestDataProvider::SOQL_COP_AVG
const SOQL_COP_AVG
to return the average value
Definition: SalesforceRestDataProviderDefs.qc.dox.h:63
SalesforceRestDataProvider::soql_cop_count_distinct
hash< SoqlColumnOperatorInfo > soql_cop_count_distinct(auto column='')
returns a SoqlColumnOperatorInfo hash for the "count_distinct" aggregate function; returns row counts
SalesforceRestDataProvider::soql_cop_calendar_year
hash< SoqlColumnOperatorInfo > soql_cop_calendar_year(auto column)
returns a SoqlColumnOperatorInfo hash for the "calendar_year" function; returns the calendar year for...