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.js
CHANGED
|
@@ -1692,6 +1692,7 @@ class JSONColumn extends ColumnType {
|
|
|
1692
1692
|
this.dataType = "jsonb";
|
|
1693
1693
|
this.operators = Operators.json;
|
|
1694
1694
|
this.data.encode = this.data.defaultEncode = encode;
|
|
1695
|
+
this.data.parseItem = JSON.parse;
|
|
1695
1696
|
}
|
|
1696
1697
|
toCode(ctx, key) {
|
|
1697
1698
|
return columnCode(this, ctx, key, `json()`);
|