@mikro-orm/knex 7.0.0-dev.35 → 7.0.0-dev.37

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.
@@ -1070,7 +1070,7 @@ export class AbstractSqlDriver extends DatabaseDriver {
1070
1070
  });
1071
1071
  }
1072
1072
  const aliased = this.platform.quoteIdentifier(`${tableAlias}__${prop.fieldNames[0]}`);
1073
- if (prop.customTypes?.some(type => type?.convertToJSValueSQL)) {
1073
+ if (prop.customTypes?.some(type => !!type?.convertToJSValueSQL)) {
1074
1074
  return prop.fieldNames.map((col, idx) => {
1075
1075
  if (!prop.customTypes[idx]?.convertToJSValueSQL) {
1076
1076
  return col;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/knex",
3
- "version": "7.0.0-dev.35",
3
+ "version": "7.0.0-dev.37",
4
4
  "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -57,6 +57,6 @@
57
57
  "@mikro-orm/core": "^6.5.8"
58
58
  },
59
59
  "peerDependencies": {
60
- "@mikro-orm/core": "7.0.0-dev.35"
60
+ "@mikro-orm/core": "7.0.0-dev.37"
61
61
  }
62
62
  }