pqb 0.31.8 → 0.31.9

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
@@ -6409,7 +6409,7 @@ const createCtx = () => ({
6409
6409
  });
6410
6410
  const mapColumnValues = (columns, encoders, data) => {
6411
6411
  return columns.map(
6412
- (key) => encoders[key] ? encoders[key](data[key]) : data[key]
6412
+ (key) => encoders[key] && !isExpression(data[key]) ? encoders[key](data[key]) : data[key]
6413
6413
  );
6414
6414
  };
6415
6415
  const handleOneData = (q, data, ctx) => {