@carbonorm/carbonnode 6.0.19 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/README.md +46 -1
  2. package/dist/constants/C6Constants.d.ts +342 -338
  3. package/dist/executors/SqlExecutor.d.ts +8 -0
  4. package/dist/index.cjs.js +751 -272
  5. package/dist/index.cjs.js.map +1 -1
  6. package/dist/index.d.ts +1 -0
  7. package/dist/index.esm.js +744 -273
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/orm/builders/AggregateBuilder.d.ts +5 -1
  10. package/dist/orm/builders/ConditionBuilder.d.ts +2 -3
  11. package/dist/orm/builders/ExpressionSerializer.d.ts +22 -0
  12. package/dist/orm/builders/PaginationBuilder.d.ts +4 -6
  13. package/dist/orm/queryHelpers.d.ts +12 -1
  14. package/dist/types/mysqlTypes.d.ts +6 -1
  15. package/dist/types/ormInterfaces.d.ts +7 -5
  16. package/dist/utils/cacheManager.d.ts +3 -2
  17. package/package.json +2 -2
  18. package/scripts/assets/handlebars/C6.test.ts.handlebars +4 -4
  19. package/src/__tests__/cacheManager.test.ts +28 -0
  20. package/src/__tests__/expressServer.e2e.test.ts +26 -17
  21. package/src/__tests__/httpExecutorSingular.e2e.test.ts +53 -14
  22. package/src/__tests__/normalizeSingularRequest.test.ts +26 -8
  23. package/src/__tests__/sakila-db/C6.js +1 -1
  24. package/src/__tests__/sakila-db/C6.mysqldump.json +1 -1
  25. package/src/__tests__/sakila-db/C6.mysqldump.sql +1 -1
  26. package/src/__tests__/sakila-db/C6.sqlAllowList.json +1 -1
  27. package/src/__tests__/sakila-db/C6.test.ts +4 -4
  28. package/src/__tests__/sakila-db/C6.ts +1 -1
  29. package/src/__tests__/sakila-db/sqlResponses/C6.actor.post.json +11 -4
  30. package/src/__tests__/sakila-db/sqlResponses/C6.actor.post.latest.json +3 -3
  31. package/src/__tests__/sakila-db/sqlResponses/C6.actor.put.json +1 -1
  32. package/src/__tests__/sakila-db/sqlResponses/C6.actor.put.lookup.json +3 -3
  33. package/src/__tests__/sakila-db/sqlResponses/C6.address.post.json +26 -7
  34. package/src/__tests__/sakila-db/sqlResponses/C6.address.post.latest.json +5 -5
  35. package/src/__tests__/sakila-db/sqlResponses/C6.address.put.json +1 -1
  36. package/src/__tests__/sakila-db/sqlResponses/C6.address.put.lookup.json +5 -5
  37. package/src/__tests__/sakila-db/sqlResponses/C6.category.post.json +9 -3
  38. package/src/__tests__/sakila-db/sqlResponses/C6.category.post.latest.json +2 -2
  39. package/src/__tests__/sakila-db/sqlResponses/C6.category.put.json +1 -1
  40. package/src/__tests__/sakila-db/sqlResponses/C6.category.put.lookup.json +2 -2
  41. package/src/__tests__/sakila-db/sqlResponses/C6.city.post.json +10 -3
  42. package/src/__tests__/sakila-db/sqlResponses/C6.city.post.latest.json +2 -2
  43. package/src/__tests__/sakila-db/sqlResponses/C6.city.put.json +1 -1
  44. package/src/__tests__/sakila-db/sqlResponses/C6.city.put.lookup.json +2 -2
  45. package/src/__tests__/sakila-db/sqlResponses/C6.country.post.json +9 -3
  46. package/src/__tests__/sakila-db/sqlResponses/C6.country.post.latest.json +2 -2
  47. package/src/__tests__/sakila-db/sqlResponses/C6.country.put.json +1 -1
  48. package/src/__tests__/sakila-db/sqlResponses/C6.country.put.lookup.json +2 -2
  49. package/src/__tests__/sakila-db/sqlResponses/C6.customer.post.json +18 -6
  50. package/src/__tests__/sakila-db/sqlResponses/C6.customer.post.latest.json +5 -5
  51. package/src/__tests__/sakila-db/sqlResponses/C6.customer.put.json +1 -1
  52. package/src/__tests__/sakila-db/sqlResponses/C6.customer.put.lookup.json +5 -5
  53. package/src/__tests__/sakila-db/sqlResponses/C6.film.post.json +18 -3
  54. package/src/__tests__/sakila-db/sqlResponses/C6.film.post.latest.json +2 -2
  55. package/src/__tests__/sakila-db/sqlResponses/C6.film.put.json +1 -1
  56. package/src/__tests__/sakila-db/sqlResponses/C6.film.put.lookup.json +2 -2
  57. package/src/__tests__/sakila-db/sqlResponses/C6.inventory.post.json +9 -2
  58. package/src/__tests__/sakila-db/sqlResponses/C6.inventory.post.latest.json +1 -1
  59. package/src/__tests__/sakila-db/sqlResponses/C6.inventory.put.json +1 -1
  60. package/src/__tests__/sakila-db/sqlResponses/C6.inventory.put.lookup.json +1 -1
  61. package/src/__tests__/sakila-db/sqlResponses/C6.language.post.json +9 -3
  62. package/src/__tests__/sakila-db/sqlResponses/C6.language.post.latest.json +2 -2
  63. package/src/__tests__/sakila-db/sqlResponses/C6.language.put.json +1 -1
  64. package/src/__tests__/sakila-db/sqlResponses/C6.language.put.lookup.json +2 -2
  65. package/src/__tests__/sakila-db/sqlResponses/C6.payment.post.json +13 -3
  66. package/src/__tests__/sakila-db/sqlResponses/C6.payment.post.latest.json +2 -2
  67. package/src/__tests__/sakila-db/sqlResponses/C6.payment.put.lookup.json +2 -2
  68. package/src/__tests__/sakila-db/sqlResponses/C6.rental.join.json +10 -10
  69. package/src/__tests__/sakila-db/sqlResponses/C6.rental.post.json +14 -4
  70. package/src/__tests__/sakila-db/sqlResponses/C6.rental.post.latest.json +3 -3
  71. package/src/__tests__/sakila-db/sqlResponses/C6.rental.put.json +1 -1
  72. package/src/__tests__/sakila-db/sqlResponses/C6.rental.put.lookup.json +3 -3
  73. package/src/__tests__/sqlBuilders.complex.test.ts +62 -74
  74. package/src/__tests__/sqlBuilders.expressions.test.ts +58 -30
  75. package/src/__tests__/sqlBuilders.test.ts +68 -4
  76. package/src/__tests__/sqlExecutorPostUuid.test.ts +185 -0
  77. package/src/constants/C6Constants.ts +3 -1
  78. package/src/executors/HttpExecutor.ts +35 -6
  79. package/src/executors/SqlExecutor.ts +232 -4
  80. package/src/index.ts +1 -0
  81. package/src/orm/builders/AggregateBuilder.ts +67 -106
  82. package/src/orm/builders/ConditionBuilder.ts +69 -93
  83. package/src/orm/builders/ExpressionSerializer.ts +275 -0
  84. package/src/orm/builders/PaginationBuilder.ts +24 -34
  85. package/src/orm/queryHelpers.ts +29 -0
  86. package/src/types/mysqlTypes.ts +130 -9
  87. package/src/types/ormInterfaces.ts +7 -7
  88. package/src/utils/cacheManager.ts +6 -4
  89. package/src/utils/normalizeSingularRequest.ts +11 -4
@@ -1,342 +1,346 @@
1
1
  export declare const C6Constants: {
2
- ADDDATE: string;
3
- ADDTIME: string;
4
- AS: string;
5
- ASC: string;
6
- AND: string;
7
- BETWEEN: string;
8
- CONCAT: string;
9
- CONVERT_TZ: string;
10
- COUNT: string;
11
- COUNT_ALL: string;
12
- CURRENT_DATE: string;
13
- CURRENT_TIMESTAMP: string;
14
- DAY: string;
15
- DAY_HOUR: string;
16
- DAY_MICROSECOND: string;
17
- DAY_MINUTE: string;
18
- DAY_SECOND: string;
19
- DAYNAME: string;
20
- DAYOFMONTH: string;
21
- DAYOFWEEK: string;
22
- DAYOFYEAR: string;
23
- DATE: string;
24
- DATE_ADD: string;
25
- DATEDIFF: string;
26
- DATE_SUB: string;
27
- DATE_FORMAT: string;
28
- DESC: string;
29
- DISTINCT: string;
30
- EXISTS: string;
31
- EXTRACT: string;
32
- EQUAL: string;
33
- EQUAL_NULL_SAFE: string;
34
- FALSE: string;
35
- FORCE: string;
36
- FULL_OUTER: string;
37
- FROM_DAYS: string;
38
- FROM_UNIXTIME: string;
39
- GET_FORMAT: string;
40
- GREATER_THAN: string;
41
- GROUP_BY: string;
42
- GROUP_CONCAT: string;
43
- GREATER_THAN_OR_EQUAL_TO: string;
44
- HAVING: string;
45
- HEX: string;
46
- HOUR: string;
47
- HOUR_MICROSECOND: string;
48
- HOUR_SECOND: string;
49
- HOUR_MINUTE: string;
50
- IN: string;
51
- INDEX: string;
52
- IS: string;
53
- IS_NOT: string;
54
- INNER: string;
55
- INTERVAL: string;
56
- JOIN: string;
57
- FROM: string;
58
- LEFT: string;
59
- LEFT_OUTER: string;
60
- LESS_THAN: string;
61
- LESS_THAN_OR_EQUAL_TO: string;
62
- LIKE: string;
63
- LIMIT: string;
64
- LOCALTIME: string;
65
- LOCALTIMESTAMP: string;
66
- MAKEDATE: string;
67
- MAKETIME: string;
68
- MATCH_AGAINST: string;
69
- MBRCONTAINS: string;
70
- MONTHNAME: string;
71
- MICROSECOND: string;
72
- MINUTE: string;
73
- MINUTE_MICROSECOND: string;
74
- MINUTE_SECOND: string;
75
- MIN: string;
76
- MAX: string;
77
- MONTH: string;
78
- NOT_LIKE: string;
79
- NOT_EQUAL: string;
80
- NOT_IN: string;
81
- NOW: string;
82
- NULL: string;
83
- ORDER: string;
84
- OR: string;
85
- INDEX_HINTS: string;
86
- FORCE_INDEX: string;
87
- USE_INDEX: string;
88
- IGNORE_INDEX: string;
89
- PAGE: string;
90
- PAGINATION: string;
91
- POLYGON: string;
92
- POINT: string;
93
- RIGHT_OUTER: string;
94
- SECOND: string;
95
- SECOND_MICROSECOND: string;
96
- SELECT: string;
97
- SUBSELECT: string;
98
- PARAM: string;
99
- ST_AREA: string;
100
- ST_ASBINARY: string;
101
- ST_ASTEXT: string;
102
- ST_BUFFER: string;
103
- ST_CONTAINS: string;
104
- ST_CROSSES: string;
105
- ST_DIFFERENCE: string;
106
- ST_DIMENSION: string;
107
- ST_DISJOINT: string;
108
- ST_DISTANCE: string;
109
- ST_DISTANCE_SPHERE: string;
110
- ST_ENDPOINT: string;
111
- ST_ENVELOPE: string;
112
- ST_EQUALS: string;
113
- ST_GEOMFROMGEOJSON: string;
114
- ST_GEOMFROMTEXT: string;
115
- ST_GEOMFROMWKB: string;
116
- ST_INTERSECTS: string;
117
- ST_LENGTH: string;
118
- ST_MAKEENVELOPE: string;
119
- ST_OVERLAPS: string;
120
- ST_POINT: string;
121
- ST_SETSRID: string;
122
- ST_SRID: string;
123
- ST_STARTPOINT: string;
124
- ST_SYMDIFFERENCE: string;
125
- ST_TOUCHES: string;
126
- ST_UNION: string;
127
- ST_WITHIN: string;
128
- ST_X: string;
129
- ST_Y: string;
130
- STR_TO_DATE: string;
131
- SUBDATE: string;
132
- SUBTIME: string;
133
- SUM: string;
134
- SYSDATE: string;
135
- TIME: string;
136
- TIME_FORMAT: string;
137
- TIME_TO_SEC: string;
138
- TIMEDIFF: string;
139
- TIMESTAMP: string;
140
- TIMESTAMPADD: string;
141
- TIMESTAMPDIFF: string;
142
- TO_DAYS: string;
143
- TO_SECONDS: string;
144
- TRANSACTION_TIMESTAMP: string;
145
- TRUE: string;
146
- UNIX_TIMESTAMP: string;
147
- UNKNOWN: string;
148
- UPDATE: string;
149
- UNHEX: string;
150
- UTC_DATE: string;
151
- UTC_TIME: string;
152
- UTC_TIMESTAMP: string;
153
- WHERE: string;
154
- WEEKDAY: string;
155
- WEEKOFYEAR: string;
156
- YEARWEEK: string;
157
- DEPENDANT_ON_ENTITY: string;
158
- HEADERS: string;
159
- OPTIONS: string;
160
- INSERT: string;
161
- GET: string;
162
- POST: string;
163
- PUT: string;
164
- REPLACE: string;
165
- DELETE: string;
166
- REST_REQUEST_PREPROCESS_CALLBACKS: string;
167
- PREPROCESS: string;
168
- REST_REQUEST_FINNISH_CALLBACKS: string;
169
- FINISH: string;
170
- VALIDATE_C6_ENTITY_ID_REGEX: string;
2
+ readonly ADDDATE: "ADDDATE";
3
+ readonly ADDTIME: "ADDTIME";
4
+ readonly AS: "AS";
5
+ readonly ASC: "ASC";
6
+ readonly AND: "AND";
7
+ readonly BETWEEN: "BETWEEN";
8
+ readonly CONCAT: "CONCAT";
9
+ readonly CALL: "CALL";
10
+ readonly CONVERT_TZ: "CONVERT_TZ";
11
+ readonly COUNT: "COUNT";
12
+ readonly COUNT_ALL: "COUNT_ALL";
13
+ readonly CURRENT_DATE: "CURRENT_DATE";
14
+ readonly CURRENT_TIMESTAMP: "CURRENT_TIMESTAMP";
15
+ readonly DAY: "DAY";
16
+ readonly DAY_HOUR: "DAY_HOUR";
17
+ readonly DAY_MICROSECOND: "DAY_MICROSECOND";
18
+ readonly DAY_MINUTE: "DAY_MINUTE";
19
+ readonly DAY_SECOND: "DAY_SECOND";
20
+ readonly DAYNAME: "DAYNAME";
21
+ readonly DAYOFMONTH: "DAYOFMONTH";
22
+ readonly DAYOFWEEK: "DAYOFWEEK";
23
+ readonly DAYOFYEAR: "DAYOFYEAR";
24
+ readonly DATE: "DATE";
25
+ readonly DATE_ADD: "DATE_ADD";
26
+ readonly DATEDIFF: "DATEDIFF";
27
+ readonly DATE_SUB: "DATE_SUB";
28
+ readonly DATE_FORMAT: "DATE_FORMAT";
29
+ readonly DESC: "DESC";
30
+ readonly DISTINCT: "DISTINCT";
31
+ readonly EXISTS: "EXISTS";
32
+ readonly EXTRACT: "EXTRACT";
33
+ readonly EQUAL: "=";
34
+ readonly EQUAL_NULL_SAFE: "<=>";
35
+ readonly FALSE: "FALSE";
36
+ readonly FORCE: "FORCE";
37
+ readonly FULL_OUTER: "FULL_OUTER";
38
+ readonly FROM_DAYS: "FROM_DAYS";
39
+ readonly FROM_UNIXTIME: "FROM_UNIXTIME";
40
+ readonly GET_FORMAT: "GET_FORMAT";
41
+ readonly GREATER_THAN: ">";
42
+ readonly GROUP_BY: "GROUP_BY";
43
+ readonly GROUP_CONCAT: "GROUP_CONCAT";
44
+ readonly GREATER_THAN_OR_EQUAL_TO: ">=";
45
+ readonly HAVING: "HAVING";
46
+ readonly HEX: "HEX";
47
+ readonly HOUR: "HOUR";
48
+ readonly HOUR_MICROSECOND: "HOUR_MICROSECOND";
49
+ readonly HOUR_SECOND: "HOUR_SECOND";
50
+ readonly HOUR_MINUTE: "HOUR_MINUTE";
51
+ readonly IN: "IN";
52
+ readonly INDEX: "INDEX";
53
+ readonly IS: "IS";
54
+ readonly IS_NOT: "IS_NOT";
55
+ readonly INNER: "INNER";
56
+ readonly INTERVAL: "INTERVAL";
57
+ readonly JOIN: "JOIN";
58
+ readonly FROM: "FROM";
59
+ readonly LEFT: "LEFT";
60
+ readonly LEFT_OUTER: "LEFT_OUTER";
61
+ readonly LESS_THAN: "<";
62
+ readonly LESS_THAN_OR_EQUAL_TO: "<=";
63
+ readonly LIKE: "LIKE";
64
+ readonly LIT: "LIT";
65
+ readonly LIMIT: "LIMIT";
66
+ readonly LOCALTIME: "LOCALTIME";
67
+ readonly LOCALTIMESTAMP: "LOCALTIMESTAMP";
68
+ readonly MAKEDATE: "MAKEDATE";
69
+ readonly MAKETIME: "MAKETIME";
70
+ readonly MATCH_AGAINST: "MATCH_AGAINST";
71
+ readonly MBRCONTAINS: "MBRContains";
72
+ readonly MONTHNAME: "MONTHNAME";
73
+ readonly MICROSECOND: "MICROSECOND";
74
+ readonly MINUTE: "MINUTE";
75
+ readonly MINUTE_MICROSECOND: "MINUTE_MICROSECOND";
76
+ readonly MINUTE_SECOND: "MINUTE_SECOND";
77
+ readonly MIN: "MIN";
78
+ readonly MAX: "MAX";
79
+ readonly MONTH: "MONTH";
80
+ readonly NOT_LIKE: "NOT_LIKE";
81
+ readonly NOT_EQUAL: "<>";
82
+ readonly NOT_IN: "NOT_IN";
83
+ readonly NOW: "NOW";
84
+ readonly NULL: "NULL";
85
+ readonly ORDER: "ORDER";
86
+ readonly OR: "OR";
87
+ readonly INDEX_HINTS: "INDEX_HINTS";
88
+ readonly FORCE_INDEX: "FORCE INDEX";
89
+ readonly USE_INDEX: "USE INDEX";
90
+ readonly IGNORE_INDEX: "IGNORE INDEX";
91
+ readonly PAGE: "PAGE";
92
+ readonly PAGINATION: "PAGINATION";
93
+ readonly POLYGON: "POLYGON";
94
+ readonly POINT: "POINT";
95
+ readonly RIGHT_OUTER: "RIGHT_OUTER";
96
+ readonly SECOND: "SECOND";
97
+ readonly SECOND_MICROSECOND: "SECOND_MICROSECOND";
98
+ readonly SELECT: "SELECT";
99
+ readonly SUBSELECT: "SUBSELECT";
100
+ readonly PARAM: "PARAM";
101
+ readonly ST_AREA: "ST_Area";
102
+ readonly ST_ASBINARY: "ST_AsBinary";
103
+ readonly ST_ASTEXT: "ST_AsText";
104
+ readonly ST_BUFFER: "ST_Buffer";
105
+ readonly ST_CONTAINS: "ST_Contains";
106
+ readonly ST_CROSSES: "ST_Crosses";
107
+ readonly ST_DIFFERENCE: "ST_Difference";
108
+ readonly ST_DIMENSION: "ST_Dimension";
109
+ readonly ST_DISJOINT: "ST_Disjoint";
110
+ readonly ST_DISTANCE: "ST_Distance";
111
+ readonly ST_DISTANCE_SPHERE: "ST_Distance_Sphere";
112
+ readonly ST_ENDPOINT: "ST_EndPoint";
113
+ readonly ST_ENVELOPE: "ST_Envelope";
114
+ readonly ST_EQUALS: "ST_Equals";
115
+ readonly ST_GEOMFROMGEOJSON: "ST_GeomFromGeoJSON";
116
+ readonly ST_GEOMFROMTEXT: "ST_GeomFromText";
117
+ readonly ST_GEOMFROMWKB: "ST_GeomFromWKB";
118
+ readonly ST_INTERSECTS: "ST_Intersects";
119
+ readonly ST_LENGTH: "ST_Length";
120
+ readonly ST_MAKEENVELOPE: "ST_MakeEnvelope";
121
+ readonly ST_OVERLAPS: "ST_Overlaps";
122
+ readonly ST_POINT: "ST_Point";
123
+ readonly ST_SETSRID: "ST_SetSRID";
124
+ readonly ST_SRID: "ST_SRID";
125
+ readonly ST_STARTPOINT: "ST_StartPoint";
126
+ readonly ST_SYMDIFFERENCE: "ST_SymDifference";
127
+ readonly ST_TOUCHES: "ST_Touches";
128
+ readonly ST_UNION: "ST_Union";
129
+ readonly ST_WITHIN: "ST_Within";
130
+ readonly ST_X: "ST_X";
131
+ readonly ST_Y: "ST_Y";
132
+ readonly STR_TO_DATE: "STR_TO_DATE";
133
+ readonly SUBDATE: "SUBDATE";
134
+ readonly SUBTIME: "SUBTIME";
135
+ readonly SUM: "SUM";
136
+ readonly SYSDATE: "SYSDATE";
137
+ readonly TIME: "TIME";
138
+ readonly TIME_FORMAT: "TIME_FORMAT";
139
+ readonly TIME_TO_SEC: "TIME_TO_SEC";
140
+ readonly TIMEDIFF: "TIMEDIFF";
141
+ readonly TIMESTAMP: "TIMESTAMP";
142
+ readonly TIMESTAMPADD: "TIMESTAMPADD";
143
+ readonly TIMESTAMPDIFF: "TIMESTAMPDIFF";
144
+ readonly TO_DAYS: "TO_DAYS";
145
+ readonly TO_SECONDS: "TO_SECONDS";
146
+ readonly TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP";
147
+ readonly TRUE: "TRUE";
148
+ readonly UNIX_TIMESTAMP: "UNIX_TIMESTAMP";
149
+ readonly UNKNOWN: "UNKNOWN";
150
+ readonly UPDATE: "UPDATE";
151
+ readonly UNHEX: "UNHEX";
152
+ readonly UTC_DATE: "UNHEX";
153
+ readonly UTC_TIME: "UNHEX";
154
+ readonly UTC_TIMESTAMP: "UNHEX";
155
+ readonly WHERE: "WHERE";
156
+ readonly WEEKDAY: "WEEKDAY";
157
+ readonly WEEKOFYEAR: "WEEKOFYEAR";
158
+ readonly YEARWEEK: "YEARWEEK";
159
+ readonly DEPENDANT_ON_ENTITY: "DEPENDANT_ON_ENTITY";
160
+ readonly HEADERS: "HEADERS";
161
+ readonly OPTIONS: "OPTIONS";
162
+ readonly INSERT: "INSERT";
163
+ readonly GET: "GET";
164
+ readonly POST: "POST";
165
+ readonly PUT: "PUT";
166
+ readonly REPLACE: "REPLACE";
167
+ readonly DELETE: "DELETE";
168
+ readonly REST_REQUEST_PREPROCESS_CALLBACKS: "PREPROCESS";
169
+ readonly PREPROCESS: "PREPROCESS";
170
+ readonly REST_REQUEST_FINNISH_CALLBACKS: "FINISH";
171
+ readonly FINISH: "FINISH";
172
+ readonly VALIDATE_C6_ENTITY_ID_REGEX: "#^([a-fA-F0-9]{20,35})$#";
171
173
  };
172
174
  export declare const C6C: {
173
- ADDDATE: string;
174
- ADDTIME: string;
175
- AS: string;
176
- ASC: string;
177
- AND: string;
178
- BETWEEN: string;
179
- CONCAT: string;
180
- CONVERT_TZ: string;
181
- COUNT: string;
182
- COUNT_ALL: string;
183
- CURRENT_DATE: string;
184
- CURRENT_TIMESTAMP: string;
185
- DAY: string;
186
- DAY_HOUR: string;
187
- DAY_MICROSECOND: string;
188
- DAY_MINUTE: string;
189
- DAY_SECOND: string;
190
- DAYNAME: string;
191
- DAYOFMONTH: string;
192
- DAYOFWEEK: string;
193
- DAYOFYEAR: string;
194
- DATE: string;
195
- DATE_ADD: string;
196
- DATEDIFF: string;
197
- DATE_SUB: string;
198
- DATE_FORMAT: string;
199
- DESC: string;
200
- DISTINCT: string;
201
- EXISTS: string;
202
- EXTRACT: string;
203
- EQUAL: string;
204
- EQUAL_NULL_SAFE: string;
205
- FALSE: string;
206
- FORCE: string;
207
- FULL_OUTER: string;
208
- FROM_DAYS: string;
209
- FROM_UNIXTIME: string;
210
- GET_FORMAT: string;
211
- GREATER_THAN: string;
212
- GROUP_BY: string;
213
- GROUP_CONCAT: string;
214
- GREATER_THAN_OR_EQUAL_TO: string;
215
- HAVING: string;
216
- HEX: string;
217
- HOUR: string;
218
- HOUR_MICROSECOND: string;
219
- HOUR_SECOND: string;
220
- HOUR_MINUTE: string;
221
- IN: string;
222
- INDEX: string;
223
- IS: string;
224
- IS_NOT: string;
225
- INNER: string;
226
- INTERVAL: string;
227
- JOIN: string;
228
- FROM: string;
229
- LEFT: string;
230
- LEFT_OUTER: string;
231
- LESS_THAN: string;
232
- LESS_THAN_OR_EQUAL_TO: string;
233
- LIKE: string;
234
- LIMIT: string;
235
- LOCALTIME: string;
236
- LOCALTIMESTAMP: string;
237
- MAKEDATE: string;
238
- MAKETIME: string;
239
- MATCH_AGAINST: string;
240
- MBRCONTAINS: string;
241
- MONTHNAME: string;
242
- MICROSECOND: string;
243
- MINUTE: string;
244
- MINUTE_MICROSECOND: string;
245
- MINUTE_SECOND: string;
246
- MIN: string;
247
- MAX: string;
248
- MONTH: string;
249
- NOT_LIKE: string;
250
- NOT_EQUAL: string;
251
- NOT_IN: string;
252
- NOW: string;
253
- NULL: string;
254
- ORDER: string;
255
- OR: string;
256
- INDEX_HINTS: string;
257
- FORCE_INDEX: string;
258
- USE_INDEX: string;
259
- IGNORE_INDEX: string;
260
- PAGE: string;
261
- PAGINATION: string;
262
- POLYGON: string;
263
- POINT: string;
264
- RIGHT_OUTER: string;
265
- SECOND: string;
266
- SECOND_MICROSECOND: string;
267
- SELECT: string;
268
- SUBSELECT: string;
269
- PARAM: string;
270
- ST_AREA: string;
271
- ST_ASBINARY: string;
272
- ST_ASTEXT: string;
273
- ST_BUFFER: string;
274
- ST_CONTAINS: string;
275
- ST_CROSSES: string;
276
- ST_DIFFERENCE: string;
277
- ST_DIMENSION: string;
278
- ST_DISJOINT: string;
279
- ST_DISTANCE: string;
280
- ST_DISTANCE_SPHERE: string;
281
- ST_ENDPOINT: string;
282
- ST_ENVELOPE: string;
283
- ST_EQUALS: string;
284
- ST_GEOMFROMGEOJSON: string;
285
- ST_GEOMFROMTEXT: string;
286
- ST_GEOMFROMWKB: string;
287
- ST_INTERSECTS: string;
288
- ST_LENGTH: string;
289
- ST_MAKEENVELOPE: string;
290
- ST_OVERLAPS: string;
291
- ST_POINT: string;
292
- ST_SETSRID: string;
293
- ST_SRID: string;
294
- ST_STARTPOINT: string;
295
- ST_SYMDIFFERENCE: string;
296
- ST_TOUCHES: string;
297
- ST_UNION: string;
298
- ST_WITHIN: string;
299
- ST_X: string;
300
- ST_Y: string;
301
- STR_TO_DATE: string;
302
- SUBDATE: string;
303
- SUBTIME: string;
304
- SUM: string;
305
- SYSDATE: string;
306
- TIME: string;
307
- TIME_FORMAT: string;
308
- TIME_TO_SEC: string;
309
- TIMEDIFF: string;
310
- TIMESTAMP: string;
311
- TIMESTAMPADD: string;
312
- TIMESTAMPDIFF: string;
313
- TO_DAYS: string;
314
- TO_SECONDS: string;
315
- TRANSACTION_TIMESTAMP: string;
316
- TRUE: string;
317
- UNIX_TIMESTAMP: string;
318
- UNKNOWN: string;
319
- UPDATE: string;
320
- UNHEX: string;
321
- UTC_DATE: string;
322
- UTC_TIME: string;
323
- UTC_TIMESTAMP: string;
324
- WHERE: string;
325
- WEEKDAY: string;
326
- WEEKOFYEAR: string;
327
- YEARWEEK: string;
328
- DEPENDANT_ON_ENTITY: string;
329
- HEADERS: string;
330
- OPTIONS: string;
331
- INSERT: string;
332
- GET: string;
333
- POST: string;
334
- PUT: string;
335
- REPLACE: string;
336
- DELETE: string;
337
- REST_REQUEST_PREPROCESS_CALLBACKS: string;
338
- PREPROCESS: string;
339
- REST_REQUEST_FINNISH_CALLBACKS: string;
340
- FINISH: string;
341
- VALIDATE_C6_ENTITY_ID_REGEX: string;
175
+ readonly ADDDATE: "ADDDATE";
176
+ readonly ADDTIME: "ADDTIME";
177
+ readonly AS: "AS";
178
+ readonly ASC: "ASC";
179
+ readonly AND: "AND";
180
+ readonly BETWEEN: "BETWEEN";
181
+ readonly CONCAT: "CONCAT";
182
+ readonly CALL: "CALL";
183
+ readonly CONVERT_TZ: "CONVERT_TZ";
184
+ readonly COUNT: "COUNT";
185
+ readonly COUNT_ALL: "COUNT_ALL";
186
+ readonly CURRENT_DATE: "CURRENT_DATE";
187
+ readonly CURRENT_TIMESTAMP: "CURRENT_TIMESTAMP";
188
+ readonly DAY: "DAY";
189
+ readonly DAY_HOUR: "DAY_HOUR";
190
+ readonly DAY_MICROSECOND: "DAY_MICROSECOND";
191
+ readonly DAY_MINUTE: "DAY_MINUTE";
192
+ readonly DAY_SECOND: "DAY_SECOND";
193
+ readonly DAYNAME: "DAYNAME";
194
+ readonly DAYOFMONTH: "DAYOFMONTH";
195
+ readonly DAYOFWEEK: "DAYOFWEEK";
196
+ readonly DAYOFYEAR: "DAYOFYEAR";
197
+ readonly DATE: "DATE";
198
+ readonly DATE_ADD: "DATE_ADD";
199
+ readonly DATEDIFF: "DATEDIFF";
200
+ readonly DATE_SUB: "DATE_SUB";
201
+ readonly DATE_FORMAT: "DATE_FORMAT";
202
+ readonly DESC: "DESC";
203
+ readonly DISTINCT: "DISTINCT";
204
+ readonly EXISTS: "EXISTS";
205
+ readonly EXTRACT: "EXTRACT";
206
+ readonly EQUAL: "=";
207
+ readonly EQUAL_NULL_SAFE: "<=>";
208
+ readonly FALSE: "FALSE";
209
+ readonly FORCE: "FORCE";
210
+ readonly FULL_OUTER: "FULL_OUTER";
211
+ readonly FROM_DAYS: "FROM_DAYS";
212
+ readonly FROM_UNIXTIME: "FROM_UNIXTIME";
213
+ readonly GET_FORMAT: "GET_FORMAT";
214
+ readonly GREATER_THAN: ">";
215
+ readonly GROUP_BY: "GROUP_BY";
216
+ readonly GROUP_CONCAT: "GROUP_CONCAT";
217
+ readonly GREATER_THAN_OR_EQUAL_TO: ">=";
218
+ readonly HAVING: "HAVING";
219
+ readonly HEX: "HEX";
220
+ readonly HOUR: "HOUR";
221
+ readonly HOUR_MICROSECOND: "HOUR_MICROSECOND";
222
+ readonly HOUR_SECOND: "HOUR_SECOND";
223
+ readonly HOUR_MINUTE: "HOUR_MINUTE";
224
+ readonly IN: "IN";
225
+ readonly INDEX: "INDEX";
226
+ readonly IS: "IS";
227
+ readonly IS_NOT: "IS_NOT";
228
+ readonly INNER: "INNER";
229
+ readonly INTERVAL: "INTERVAL";
230
+ readonly JOIN: "JOIN";
231
+ readonly FROM: "FROM";
232
+ readonly LEFT: "LEFT";
233
+ readonly LEFT_OUTER: "LEFT_OUTER";
234
+ readonly LESS_THAN: "<";
235
+ readonly LESS_THAN_OR_EQUAL_TO: "<=";
236
+ readonly LIKE: "LIKE";
237
+ readonly LIT: "LIT";
238
+ readonly LIMIT: "LIMIT";
239
+ readonly LOCALTIME: "LOCALTIME";
240
+ readonly LOCALTIMESTAMP: "LOCALTIMESTAMP";
241
+ readonly MAKEDATE: "MAKEDATE";
242
+ readonly MAKETIME: "MAKETIME";
243
+ readonly MATCH_AGAINST: "MATCH_AGAINST";
244
+ readonly MBRCONTAINS: "MBRContains";
245
+ readonly MONTHNAME: "MONTHNAME";
246
+ readonly MICROSECOND: "MICROSECOND";
247
+ readonly MINUTE: "MINUTE";
248
+ readonly MINUTE_MICROSECOND: "MINUTE_MICROSECOND";
249
+ readonly MINUTE_SECOND: "MINUTE_SECOND";
250
+ readonly MIN: "MIN";
251
+ readonly MAX: "MAX";
252
+ readonly MONTH: "MONTH";
253
+ readonly NOT_LIKE: "NOT_LIKE";
254
+ readonly NOT_EQUAL: "<>";
255
+ readonly NOT_IN: "NOT_IN";
256
+ readonly NOW: "NOW";
257
+ readonly NULL: "NULL";
258
+ readonly ORDER: "ORDER";
259
+ readonly OR: "OR";
260
+ readonly INDEX_HINTS: "INDEX_HINTS";
261
+ readonly FORCE_INDEX: "FORCE INDEX";
262
+ readonly USE_INDEX: "USE INDEX";
263
+ readonly IGNORE_INDEX: "IGNORE INDEX";
264
+ readonly PAGE: "PAGE";
265
+ readonly PAGINATION: "PAGINATION";
266
+ readonly POLYGON: "POLYGON";
267
+ readonly POINT: "POINT";
268
+ readonly RIGHT_OUTER: "RIGHT_OUTER";
269
+ readonly SECOND: "SECOND";
270
+ readonly SECOND_MICROSECOND: "SECOND_MICROSECOND";
271
+ readonly SELECT: "SELECT";
272
+ readonly SUBSELECT: "SUBSELECT";
273
+ readonly PARAM: "PARAM";
274
+ readonly ST_AREA: "ST_Area";
275
+ readonly ST_ASBINARY: "ST_AsBinary";
276
+ readonly ST_ASTEXT: "ST_AsText";
277
+ readonly ST_BUFFER: "ST_Buffer";
278
+ readonly ST_CONTAINS: "ST_Contains";
279
+ readonly ST_CROSSES: "ST_Crosses";
280
+ readonly ST_DIFFERENCE: "ST_Difference";
281
+ readonly ST_DIMENSION: "ST_Dimension";
282
+ readonly ST_DISJOINT: "ST_Disjoint";
283
+ readonly ST_DISTANCE: "ST_Distance";
284
+ readonly ST_DISTANCE_SPHERE: "ST_Distance_Sphere";
285
+ readonly ST_ENDPOINT: "ST_EndPoint";
286
+ readonly ST_ENVELOPE: "ST_Envelope";
287
+ readonly ST_EQUALS: "ST_Equals";
288
+ readonly ST_GEOMFROMGEOJSON: "ST_GeomFromGeoJSON";
289
+ readonly ST_GEOMFROMTEXT: "ST_GeomFromText";
290
+ readonly ST_GEOMFROMWKB: "ST_GeomFromWKB";
291
+ readonly ST_INTERSECTS: "ST_Intersects";
292
+ readonly ST_LENGTH: "ST_Length";
293
+ readonly ST_MAKEENVELOPE: "ST_MakeEnvelope";
294
+ readonly ST_OVERLAPS: "ST_Overlaps";
295
+ readonly ST_POINT: "ST_Point";
296
+ readonly ST_SETSRID: "ST_SetSRID";
297
+ readonly ST_SRID: "ST_SRID";
298
+ readonly ST_STARTPOINT: "ST_StartPoint";
299
+ readonly ST_SYMDIFFERENCE: "ST_SymDifference";
300
+ readonly ST_TOUCHES: "ST_Touches";
301
+ readonly ST_UNION: "ST_Union";
302
+ readonly ST_WITHIN: "ST_Within";
303
+ readonly ST_X: "ST_X";
304
+ readonly ST_Y: "ST_Y";
305
+ readonly STR_TO_DATE: "STR_TO_DATE";
306
+ readonly SUBDATE: "SUBDATE";
307
+ readonly SUBTIME: "SUBTIME";
308
+ readonly SUM: "SUM";
309
+ readonly SYSDATE: "SYSDATE";
310
+ readonly TIME: "TIME";
311
+ readonly TIME_FORMAT: "TIME_FORMAT";
312
+ readonly TIME_TO_SEC: "TIME_TO_SEC";
313
+ readonly TIMEDIFF: "TIMEDIFF";
314
+ readonly TIMESTAMP: "TIMESTAMP";
315
+ readonly TIMESTAMPADD: "TIMESTAMPADD";
316
+ readonly TIMESTAMPDIFF: "TIMESTAMPDIFF";
317
+ readonly TO_DAYS: "TO_DAYS";
318
+ readonly TO_SECONDS: "TO_SECONDS";
319
+ readonly TRANSACTION_TIMESTAMP: "TRANSACTION_TIMESTAMP";
320
+ readonly TRUE: "TRUE";
321
+ readonly UNIX_TIMESTAMP: "UNIX_TIMESTAMP";
322
+ readonly UNKNOWN: "UNKNOWN";
323
+ readonly UPDATE: "UPDATE";
324
+ readonly UNHEX: "UNHEX";
325
+ readonly UTC_DATE: "UNHEX";
326
+ readonly UTC_TIME: "UNHEX";
327
+ readonly UTC_TIMESTAMP: "UNHEX";
328
+ readonly WHERE: "WHERE";
329
+ readonly WEEKDAY: "WEEKDAY";
330
+ readonly WEEKOFYEAR: "WEEKOFYEAR";
331
+ readonly YEARWEEK: "YEARWEEK";
332
+ readonly DEPENDANT_ON_ENTITY: "DEPENDANT_ON_ENTITY";
333
+ readonly HEADERS: "HEADERS";
334
+ readonly OPTIONS: "OPTIONS";
335
+ readonly INSERT: "INSERT";
336
+ readonly GET: "GET";
337
+ readonly POST: "POST";
338
+ readonly PUT: "PUT";
339
+ readonly REPLACE: "REPLACE";
340
+ readonly DELETE: "DELETE";
341
+ readonly REST_REQUEST_PREPROCESS_CALLBACKS: "PREPROCESS";
342
+ readonly PREPROCESS: "PREPROCESS";
343
+ readonly REST_REQUEST_FINNISH_CALLBACKS: "FINISH";
344
+ readonly FINISH: "FINISH";
345
+ readonly VALIDATE_C6_ENTITY_ID_REGEX: "#^([a-fA-F0-9]{20,35})$#";
342
346
  };