pqb 0.18.17 → 0.18.18

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.mjs CHANGED
@@ -3378,6 +3378,7 @@ class JSONColumn extends ColumnType {
3378
3378
  );
3379
3379
  }
3380
3380
  }
3381
+ JSONColumn.prototype.encodeFn = JSON.stringify;
3381
3382
  class JSONTextColumn extends ColumnType {
3382
3383
  constructor() {
3383
3384
  super(...arguments);
@@ -3388,7 +3389,6 @@ class JSONTextColumn extends ColumnType {
3388
3389
  return columnCode(this, t, `jsonText()`, this.data, toCodeSkip);
3389
3390
  }
3390
3391
  }
3391
- JSONColumn.prototype.encodeFn = JSONTextColumn.prototype.encodeFn = JSON.stringify;
3392
3392
 
3393
3393
  class ArrayColumn extends ColumnType {
3394
3394
  constructor(item) {