pqb 0.42.0 → 0.42.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.
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1690,6 +1690,7 @@ class JSONColumn extends ColumnType {
|
|
|
1690
1690
|
this.dataType = "jsonb";
|
|
1691
1691
|
this.operators = Operators.json;
|
|
1692
1692
|
this.data.encode = this.data.defaultEncode = encode;
|
|
1693
|
+
this.data.parseItem = JSON.parse;
|
|
1693
1694
|
}
|
|
1694
1695
|
toCode(ctx, key) {
|
|
1695
1696
|
return columnCode(this, ctx, key, `json()`);
|