@balena/abstract-sql-compiler 11.0.2 → 11.0.3-build-optimize-unnecessary-alias-bc19f720415adc56684978d56a70d1c5407c3ab7-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.
@@ -407,6 +407,8 @@ export declare const isResourceNode: (n: AbstractSqlType) => n is ResourceNode;
407
407
  export declare const isSelectQueryNode: (n: AbstractSqlType) => n is SelectQueryNode;
408
408
  export declare const isSelectNode: (n: AbstractSqlType) => n is SelectNode;
409
409
  export declare const isWhereNode: (n: AbstractSqlType) => n is WhereNode;
410
+ export declare const isReferencedFieldNode: (n: AbstractSqlType) => n is ReferencedFieldNode;
411
+ export declare const isFieldNode: (n: AbstractSqlType) => n is FieldNode;
410
412
  export declare const isFieldTypeNode: (n: AbstractSqlType) => n is FieldNode | ReferencedFieldNode;
411
413
  /**
412
414
  *
@@ -78,7 +78,9 @@ export const isResourceNode = (n) => n[0] === 'Resource';
78
78
  export const isSelectQueryNode = (n) => n[0] === 'SelectQuery';
79
79
  export const isSelectNode = (n) => n[0] === 'Select';
80
80
  export const isWhereNode = (n) => n[0] === 'Where';
81
- export const isFieldTypeNode = (n) => n[0] === 'ReferencedField' || n[0] === 'Field';
81
+ export const isReferencedFieldNode = (n) => n[0] === 'ReferencedField';
82
+ export const isFieldNode = (n) => n[0] === 'Field';
83
+ export const isFieldTypeNode = (n) => isReferencedFieldNode(n) || isFieldNode(n);
82
84
  /**
83
85
  *
84
86
  * @param n The abstract sql to check
@@ -1 +1 @@
1
- {"version":3,"file":"abstract-sql-compiler.js","sourceRoot":"","sources":["../src/abstract-sql-compiler.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAkB,OAMjB;AAND,WAAkB,OAAO;IACxB,4HAA4H;IAC5H,gCAAqB,CAAA;IACrB,0BAAe,CAAA;IACf,4BAAiB,CAAA;IACjB,gDAAgD;AACjD,CAAC,EANiB,OAAO,KAAP,OAAO,QAMxB;AAED,OAAO,E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,cAAc;KACrB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,MAAe,EAAE,WAAoB,EAAE,EAAE;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"}
@@ -1,4 +1,4 @@
1
- import { isFieldTypeNode } from './abstract-sql-compiler.js';
1
+ import { isFieldNode, isFieldTypeNode, isReferencedFieldNode, isTableNode, } from './abstract-sql-compiler.js';
2
2
  import * as AbstractSQLRules2SQL from './abstract-sql-rules-to-sql.js';
3
3
  const { isAbstractSqlQuery, getAbstractSqlQuery, checkArgs, checkMinArgs, isNotNullable, } = AbstractSQLRules2SQL;
4
4
  const identity = (x) => x;
@@ -237,13 +237,22 @@ const FromMatch = (args) => {
237
237
  const MaybeAlias = (args, matchFn) => {
238
238
  const [type, ...rest] = args;
239
239
  switch (type) {
240
- case 'Alias':
240
+ case 'Alias': {
241
241
  checkArgs('Alias', rest, 2);
242
- return [
243
- 'Alias',
244
- matchFn(getAbstractSqlQuery(rest, 0)),
245
- rest[1],
246
- ];
242
+ const aliasedNode = getAbstractSqlQuery(rest, 0);
243
+ const alias = rest[1];
244
+ let currentName;
245
+ if (isTableNode(aliasedNode) || isFieldNode(aliasedNode)) {
246
+ currentName = aliasedNode[1];
247
+ }
248
+ else if (isReferencedFieldNode(aliasedNode)) {
249
+ currentName = aliasedNode[2];
250
+ }
251
+ if (currentName != null && currentName === alias) {
252
+ return matchFn(aliasedNode);
253
+ }
254
+ return ['Alias', matchFn(aliasedNode), alias];
255
+ }
247
256
  default:
248
257
  return matchFn(args);
249
258
  }
@@ -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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,2DAA2D,CAC3D,CAAC;gBACH,CAAC;gBACD,WAAW,GAAG;oBACb,aAAa;oBACb,SAAS,CAAC,WAAW,CAAC,WAAW,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/abstract-sql-compiler",
3
- "version": "11.0.2",
3
+ "version": "11.0.3-build-optimize-unnecessary-alias-bc19f720415adc56684978d56a70d1c5407c3ab7-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-08T15:25:46.102Z"
64
64
  }
65
65
  }