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