@balena/abstract-sql-compiler 11.0.2-build-update-dev-deps-d3b7d59ef4413015b28b78a5943753304bfdfb01-1 → 11.1.0-build-computed-fns-2e528889f861161d3cef916529b3e96fcc735fe8-1

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.
@@ -147,7 +147,8 @@ export type CoalesceNode = [
147
147
  ...AnyTypeNodes[]
148
148
  ];
149
149
  export type AnyNode = ['Any', AnyTypeNodes, string];
150
- export type UnknownTypeNodes = SelectQueryNode | UnionQueryNode | NullNode | FieldNode | ReferencedFieldNode | BindNode | CastNode | CaseNode | CoalesceNode | AnyNode;
150
+ export type FnCallNode = ['FnCall', string, ...AnyTypeNodes[]];
151
+ export type UnknownTypeNodes = SelectQueryNode | UnionQueryNode | NullNode | FieldNode | ReferencedFieldNode | BindNode | CastNode | CaseNode | CoalesceNode | AnyNode | FnCallNode;
151
152
  export type ToJSONNode = ['ToJSON', AnyTypeNodes];
152
153
  export type AggregateJSONNode = [
153
154
  'AggregateJSON',
@@ -271,7 +272,12 @@ export interface AbstractSqlField {
271
272
  type?: string;
272
273
  };
273
274
  defaultValue?: string;
274
- computed?: AnyTypeNodes | true;
275
+ computed?: AnyTypeNodes | true | {
276
+ parallel: 'UNSAFE' | 'RESTRICTED' | 'SAFE';
277
+ volatility: 'STABLE' | 'IMMUTABLE' | 'VOLATILE';
278
+ definition: AnyTypeNodes;
279
+ inDefinition?: true;
280
+ };
275
281
  checks?: BooleanTypeNodes[];
276
282
  }
277
283
  export interface Trigger {
@@ -155,7 +155,9 @@ $$;`);
155
155
  throw new Error('Cannot have both a definition and a viewDefinition');
156
156
  }
157
157
  if (definition != null || viewDefinition != null) {
158
- if (table.fields.some(({ computed }) => computed != null && computed !== true)) {
158
+ if (table.fields.some(({ computed }) => computed != null &&
159
+ computed !== true &&
160
+ (Array.isArray(computed) || computed.inDefinition !== true))) {
159
161
  throw new Error(`Using computed fields alongside a custom table definition is unsupported, found for table resourceName: '${table.resourceName}', name: '${table.name}'`);
160
162
  }
161
163
  }
@@ -191,9 +193,38 @@ ${compileRule(definitionAbstractSql, engine, true).replace(/^/gm, ' ')}
191
193
  const depends = [];
192
194
  const createSqlElements = [];
193
195
  const createIndexes = [];
196
+ const createComputedFunctions = [];
194
197
  for (const field of table.fields) {
195
198
  const { fieldName, references, dataType, computed } = field;
196
- if (!computed) {
199
+ if (computed != null) {
200
+ if (!Array.isArray(computed) && computed !== true) {
201
+ let sqlType = sbvrTypes[dataType]?.types[engine];
202
+ if (sqlType == null) {
203
+ throw new Error(`Unknown data type '${dataType}' for engine: ${engine}`);
204
+ }
205
+ if (typeof sqlType === 'function') {
206
+ sqlType = sqlType.castType;
207
+ }
208
+ // TODO: add the corresponding drop
209
+ createComputedFunctions.push(`\
210
+ CREATE FUNCTION "computed_${table.name}_${fieldName}"("${table.name}" "${table.name}")
211
+ RETURNS ${sqlType} AS $fn$
212
+ ${compileRule([
213
+ 'SelectQuery',
214
+ ['Select', [computed.definition]],
215
+ [
216
+ 'From',
217
+ [
218
+ 'Alias',
219
+ ['SelectQuery', ['Select', [['ReferencedField', table.name, '*']]]],
220
+ table.name,
221
+ ],
222
+ ],
223
+ ], engine, true)}
224
+ $fn$ LANGUAGE SQL ${computed.volatility} PARALLEL ${computed.parallel};`);
225
+ }
226
+ }
227
+ else {
197
228
  createSqlElements.push('"' + fieldName + '" ' + dataTypeGen(engine, field));
198
229
  if (['ForeignKey', 'ConceptType'].includes(dataType) &&
199
230
  references != null) {
@@ -313,6 +344,7 @@ $$;`);
313
344
  CREATE TABLE ${ifNotExistsStr}"${table.name}" (
314
345
  ${createSqlElements.join('\n,\t')}
315
346
  );`,
347
+ ...createComputedFunctions,
316
348
  ...createIndexes,
317
349
  ...createTriggers,
318
350
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"abstract-sql-compiler.js","sourceRoot":"","sources":["../src/abstract-sql-compiler.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAA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E;IAChE,OAAO;QACN,cAAc;QACd,gBAAgB;QAChB,aAAa,EAAE,CAAC,gBAAkC,EAAE,EAAE,CACrD,aAAa,CAAC,gBAAgB,EAAE,MAAM,EAAE,WAAW,CAAC;QACrD,WAAW,EAAE,CAAC,WAA6B,EAAE,EAAE,CAC9C,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,CAAC;QACxC,gBAAgB;QAChB,mBAAmB;QACnB,uBAAuB;QACvB,iBAAiB;KACjB,CAAC;AACH,CAAC,CAAC;AACF,OAAO,EAAE,cAAc,EAAE,CAAC;AAC1B,MAAM,CAAC,MAAM,QAAQ,GAAG,cAAc,oCAAmB,IAAI,CAAC,CAAC;AAC/D,MAAM,CAAC,MAAM,KAAK,GAAG,cAAc,8BAAgB,IAAI,CAAC,CAAC;AACzD,MAAM,CAAC,MAAM,MAAM,GAAG,cAAc,gCAAiB,KAAK,CAAC,CAAC"}
@@ -81,6 +81,7 @@ const UnknownValue = (args) => {
81
81
  case 'Case':
82
82
  case 'Coalesce':
83
83
  case 'Any':
84
+ case 'FnCall':
84
85
  return typeRules[type](rest);
85
86
  case 'SelectQuery':
86
87
  case 'UnionQuery':
@@ -1111,6 +1112,22 @@ const typeRules = {
1111
1112
  return ['DeleteQuery', ...tables, ...where];
1112
1113
  },
1113
1114
  EscapeForLike: matchArgs('EscapeForLike', TextValue),
1115
+ FnCall: (args) => {
1116
+ checkMinArgs('FnCall', args, 2);
1117
+ if (typeof args[0] !== 'string') {
1118
+ throw new SyntaxError(`'FnCall' first argument must be the function name as a string, got ${typeof args[0]}`);
1119
+ }
1120
+ return [
1121
+ 'FnCall',
1122
+ args[0],
1123
+ ...args.slice(1).map((arg) => {
1124
+ if (!isAbstractSqlQuery(arg)) {
1125
+ throw new SyntaxError(`Expected AbstractSqlQuery array but got ${typeof arg}`);
1126
+ }
1127
+ return AnyValue(arg);
1128
+ }),
1129
+ ];
1130
+ },
1114
1131
  // Virtual functions
1115
1132
  Contains: rewriteMatch('Contains', [TextValue, TextValue], Helper(([haystack, needle]) => [
1116
1133
  'Like',
@@ -1 +1 @@
1
- {"version":3,"file":"abstract-sql-optimizer.js","sourceRoot":"","sources":["../src/abstract-sql-optimizer.ts"],"names":[],"mappings":"AA0GA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,KAAK,oBAAoB,MAAM,gCAAgC,CAAC;AAEvE,MAAM,EACL,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,YAAY,EACZ,aAAa,GACb,GAAG,oBAAoB,CAAC;AAQzB,MAAM,QAAQ,GAAG,CAAI,CAAI,EAAK,EAAE,CAAC,CAAC,CAAC;AAEnC,IAAI,MAAM,GAAG,KAAK,CAAC;AACnB,IAAI,OAAO,GAAG,KAAK,CAAC;AACpB,MAAM,MAAM,GAAG,CAAoC,EAAK,EAAE,EAAE;IAC3D,OAAO,CAAC,GAAG,IAAmB,EAAiB,EAAE;QAChD,MAAM,MAAM,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;QAC3B,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;YACtB,MAAM,GAAG,IAAI,CAAC;QACf,CAAC;QACD,OAAO,MAAM,CAAC;IACf,CAAC,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,kBAAkB,GAAG,CAAC,KAAmB,EAAW,EAAE;IAC3D,MAAM,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC;IAC9B,QAAQ,IAAI,EAAE,CAAC;QACd,KAAK,aAAa;YACjB,KAAK,MAAM,GAAG,IAAI,IAAuB,EAAE,CAAC;gBAC3C,IAAI,GAAG,CAAC,CAAC,CAAC,KAAK,OAAO,EAAE,CAAC;oBACxB,MAAM,SAAS,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;oBACzB,IAAI,SAAS,CAAC,CAAC,CAAC,KAAK,SAAS,EAAE,CAAC;wBAChC,IAAI,SAAS,CAAC,CAAC,CAAC,KAAK,KAA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AAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;oBAC3C,SAAS,CAAC,WAAW,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;iBAC3C,CAAC;gBACF,MAAM;YACP,CAAC;YACD;gBACC,WAAW,GAAG,QAAQ,CAAC,WAAW,CAAqB,CAAC;QAC1D,CAAC;IACF,CAAC,QAAQ,MAAM,EAAE;IACjB,OAAO,WAAW,CAAC;AACpB,CAAC,CAAC"}
@@ -45,6 +45,7 @@ const UnknownValue = (args, indent) => {
45
45
  case 'ToJSON':
46
46
  case 'Any':
47
47
  case 'TextArray':
48
+ case 'FnCall':
48
49
  return typeRules[type](rest, indent);
49
50
  case 'SelectQuery':
50
51
  case 'UnionQuery': {
@@ -1398,6 +1399,19 @@ const typeRules = {
1398
1399
  ['EmbeddedText', '\\%'],
1399
1400
  ], indent);
1400
1401
  },
1402
+ FnCall: (args, indent) => {
1403
+ checkMinArgs('FnCall', args, 2);
1404
+ const fnName = args[0];
1405
+ return `"${fnName}"(${args
1406
+ .slice(1)
1407
+ .map((arg) => {
1408
+ if (!isAbstractSqlQuery(arg)) {
1409
+ throw new SyntaxError(`Expected AbstractSqlQuery array but got ${typeof arg}`);
1410
+ }
1411
+ return AnyValue(arg, indent);
1412
+ })
1413
+ .join(', ')})`;
1414
+ },
1401
1415
  };
1402
1416
  const toSqlResult = (query) => {
1403
1417
  if (noBinds) {
@@ -1 +1 @@
1
- {"version":3,"file":"abstract-sql-rules-to-sql.js","sourceRoot":"","sources":["../src/abstract-sql-rules-to-sql.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,UAAU,CAAC;AAoB1C,OAAO,EAAW,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAatE,IAAI,cAAc,GAAc,EAAE,CAAC;AACnC,IAAI,oBAAoB,GAA2B,EAAE,CAAC;AACtD,IAAI,MAAM,o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GAAG,mBAAmB,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;YACjD,IACC,WAAW,CAAC,CAAC,CAAC,KAAK,aAAa;gBAChC,WAAW,CAAC,CAAC,CAAC,KAAK,aAAa,EAC/B,CAAC;gBACF,MAAM,IAAI,WAAW,CACpB,2DAA2D,CAC3D,CAAC;YACH,CAAC;YACD,MAAM,SAAS,GAAG,SAAS,CAAC,WAAW,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;YACtE,MAAM,MAAM,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC;YACtC,4CAA4C;YAC5C,cAAc,GAAG,EAAE,CAAC;YACpB,oBAAoB,GAAG,EAAE,CAAC;YAC1B,MAAM,SAAS,GAAG,SAAS,CAAC,WAAW,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;YACtE,MAAM,MAAM,GAAG,WAAW,CAAC,SAAS,CAAC,CAAC;YACtC,OAAO,CAAC,MAAM,EAAE,MAAM,CAA8C,CAAC;QACtE,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;YACT,MAAM,KAAK,GAAG,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;YAC5C,IAAI,OAAO,EAAE,CAAC;gBACb,OAAO,KAAK,CAAC;YACd,CAAC;YACD,OAAO;gBACN,KAAK,EAAE,UAAU,KAAK,eAAe;gBACrC,QAAQ,EAAE,cAAc;aACxB,CAAC;QACH,CAAC;IACF,CAAC;AACF,CAAC"}
@@ -40,8 +40,22 @@ export const optimizeSchema = (abstractSqlModel, { createCheckConstraints = true
40
40
  for (const field of table.fields) {
41
41
  const { fieldName, computed } = field;
42
42
  if (computed != null && computed !== true) {
43
- field.computed = true;
44
- computedFields.push(['Alias', computed, fieldName]);
43
+ if (Array.isArray(computed)) {
44
+ field.computed = true;
45
+ computedFields.push(['Alias', computed, fieldName]);
46
+ }
47
+ else {
48
+ computed.inDefinition = true;
49
+ computedFields.push([
50
+ 'Alias',
51
+ [
52
+ 'FnCall',
53
+ `computed_${table.name}_${fieldName}`,
54
+ ['ReferencedField', table.name, '*'],
55
+ ],
56
+ fieldName,
57
+ ]);
58
+ }
45
59
  }
46
60
  }
47
61
  if (computedFields.length > 0) {
@@ -1 +1 @@
1
- {"version":3,"file":"abstract-sql-schema-optimizer.js","sourceRoot":"","sources":["../src/abstract-sql-schema-optimizer.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAkB,OAIjB;AAJD,WAAkB,OAAO;IACxB,gCAAqB,CAAA;IACrB,0BAAe,CAAA;IACf,4BAAiB,CAAA;AAClB,CAAC,EAJiB,OAAO,KAAP,OAAO,QAIxB;AAED,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAC5C,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,UAAU,CAAC;AAQ1C,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE3E,MAAM,UAAU,GAAG,CAAC,CAAoB,EAAE,EAAE;IAC3C,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE;QACf,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;YACtB,IAAI,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;gBACnB,KAAK,EAAE,CAAC;YACT,CAAC;iBAAM,CAAC;gBACP,KAAK,IAAI,UAAU,CAAC,CAAsB,CAAC,CAAC;YAC7C,CAAC;QACF,CAAC;IACF,CAAC,CAAC,CAAC;IACH,OAAO,KAAK,CAAC;AACd,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC/B,SAAiB,EACjB,QAAyB,EACxB,EAAE;IACH,MAAM,GAAG,GAAG,SAAS,CAAC,GAAG,CAAC,YAAY,CACr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AQ,CAAC,CAAC,CAAC,CAAC;oBAC9B,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC,IAAI,CACxD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,SAAS,CAC3B,CAAC;oBACF,IAAI,KAAK,EAAE,CAAC;wBACX,KAAK,CAAC,MAAM,KAAK,EAAE,CAAC;wBACpB,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;4BACjB,WAAW,EAAE,MAAM;4BACnB,IAAI,EAAE,gBAAgB,CAAC,SAAS,EAAE,QAAQ,CAAC;4BAC3C,WAAW,EAAE,SAAS;yBACtB,CAAC,CAAC;wBACH,OAAO;oBACR,CAAC;gBACF,CAAC;YACF,CAAC;QACF,CAAC;QAED,OAAO,IAAI,CAAC;IACb,CAAC,CAAC;SACD,MAAM,CAAC,CAAC,CAAC,EAA8B,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC;IAEvD,OAAO,gBAAgB,CAAC;AACzB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/abstract-sql-compiler",
3
- "version": "11.0.2-build-update-dev-deps-d3b7d59ef4413015b28b78a5943753304bfdfb01-1",
3
+ "version": "11.1.0-build-computed-fns-2e528889f861161d3cef916529b3e96fcc735fe8-1",
4
4
  "description": "A translator for abstract sql into sql.",
5
5
  "type": "module",
6
6
  "main": "out/abstract-sql-compiler.js",
@@ -60,6 +60,6 @@
60
60
  "npm": ">=10.7.0"
61
61
  },
62
62
  "versionist": {
63
- "publishedAt": "2025-08-08T14:13:15.884Z"
63
+ "publishedAt": "2025-08-08T14:13:59.589Z"
64
64
  }
65
65
  }