@mikro-orm/knex 6.6.2-dev.10 → 6.6.2-dev.11
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/AbstractSqlDriver.js +1 -1
- package/package.json +2 -2
package/AbstractSqlDriver.js
CHANGED
|
@@ -995,7 +995,7 @@ class AbstractSqlDriver extends core_1.DatabaseDriver {
|
|
|
995
995
|
if (prop.kind === core_1.ReferenceKind.EMBEDDED && !prop.object) {
|
|
996
996
|
return Object.entries(prop.embeddedProps).flatMap(([name, childProp]) => {
|
|
997
997
|
const childFields = explicitFields ? core_1.Utils.extractChildElements(explicitFields, prop.name) : [];
|
|
998
|
-
if (
|
|
998
|
+
if (!this.shouldHaveColumn(prop.targetMeta, { ...childProp, name }, [], childFields.length > 0 ? childFields : undefined)) {
|
|
999
999
|
return [];
|
|
1000
1000
|
}
|
|
1001
1001
|
return this.mapPropToFieldNames(qb, childProp, tableAlias, childFields);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/knex",
|
|
3
|
-
"version": "6.6.2-dev.
|
|
3
|
+
"version": "6.6.2-dev.11",
|
|
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",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@mikro-orm/core": "^6.6.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@mikro-orm/core": "6.6.2-dev.
|
|
69
|
+
"@mikro-orm/core": "6.6.2-dev.11",
|
|
70
70
|
"better-sqlite3": "*",
|
|
71
71
|
"libsql": "*",
|
|
72
72
|
"mariadb": "*"
|