@polyglot-sql/sdk 0.5.6 → 0.5.8

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.
package/dist/index.d.cts CHANGED
@@ -10598,6 +10598,10 @@ declare type Pivot = {
10598
10598
  * Optional alias
10599
10599
  */
10600
10600
  alias: Identifier | null;
10601
+ /**
10602
+ * Optional output column aliases from `PIVOT(...) AS alias(col1, col2, ...)`
10603
+ */
10604
+ alias_columns?: Array<Identifier>;
10601
10605
  /**
10602
10606
  * Include/exclude nulls (for UNPIVOT)
10603
10607
  */
@@ -14351,6 +14355,10 @@ declare type Unpivot = {
14351
14355
  name_column: Identifier;
14352
14356
  columns: Array<Expression>;
14353
14357
  alias: Identifier | null;
14358
+ /**
14359
+ * Optional output column aliases from `UNPIVOT(...) AS alias(col1, col2, ...)`
14360
+ */
14361
+ alias_columns?: Array<Identifier>;
14354
14362
  /**
14355
14363
  * Whether the value_column was parenthesized in the original SQL
14356
14364
  */
package/dist/index.d.ts CHANGED
@@ -10598,6 +10598,10 @@ declare type Pivot = {
10598
10598
  * Optional alias
10599
10599
  */
10600
10600
  alias: Identifier | null;
10601
+ /**
10602
+ * Optional output column aliases from `PIVOT(...) AS alias(col1, col2, ...)`
10603
+ */
10604
+ alias_columns?: Array<Identifier>;
10601
10605
  /**
10602
10606
  * Include/exclude nulls (for UNPIVOT)
10603
10607
  */
@@ -14351,6 +14355,10 @@ declare type Unpivot = {
14351
14355
  name_column: Identifier;
14352
14356
  columns: Array<Expression>;
14353
14357
  alias: Identifier | null;
14358
+ /**
14359
+ * Optional output column aliases from `UNPIVOT(...) AS alias(col1, col2, ...)`
14360
+ */
14361
+ alias_columns?: Array<Identifier>;
14354
14362
  /**
14355
14363
  * Whether the value_column was parenthesized in the original SQL
14356
14364
  */
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-sql/sdk",
3
- "version": "0.5.6",
3
+ "version": "0.5.8",
4
4
  "description": "SQL dialect translator powered by WebAssembly",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",