@mikro-orm/knex 6.0.0-dev.21 → 6.0.0-dev.23

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.
@@ -747,7 +747,7 @@ class AbstractSqlDriver extends core_1.DatabaseDriver {
747
747
  return;
748
748
  }
749
749
  if (prop.fieldNames) {
750
- ret.push(prop.fieldNames[0]);
750
+ ret.push(...prop.fieldNames);
751
751
  }
752
752
  }
753
753
  buildFields(meta, populate, joinedProps, qb, fields) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/knex",
3
- "version": "6.0.0-dev.21",
3
+ "version": "6.0.0-dev.23",
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
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -59,13 +59,13 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "fs-extra": "11.1.0",
62
- "knex": "2.4.0",
62
+ "knex": "2.4.2",
63
63
  "sqlstring": "2.3.3"
64
64
  },
65
65
  "devDependencies": {
66
- "@mikro-orm/core": "^5.6.4"
66
+ "@mikro-orm/core": "^5.6.8"
67
67
  },
68
68
  "peerDependencies": {
69
- "@mikro-orm/core": "~6.0.0-dev.21"
69
+ "@mikro-orm/core": "~6.0.0-dev.23"
70
70
  }
71
71
  }