@mikro-orm/knex 6.0.8-dev.6 → 6.0.8-dev.8
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/SqlEntityManager.d.ts +1 -1
- package/package.json +2 -2
package/AbstractSqlDriver.js
CHANGED
|
@@ -1136,7 +1136,7 @@ class AbstractSqlDriver extends core_1.DatabaseDriver {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
else if (!core_1.Utils.isEmpty(options.exclude) || lazyProps.some(p => !p.formula)) {
|
|
1138
1138
|
const props = meta.props.filter(prop => this.platform.shouldHaveColumn(prop, populate, options.exclude, false));
|
|
1139
|
-
ret.push(...
|
|
1139
|
+
ret.push(...props.filter(p => !lazyProps.includes(p)).map(p => p.name));
|
|
1140
1140
|
addFormulas = true;
|
|
1141
1141
|
}
|
|
1142
1142
|
else if (hasLazyFormulas || requiresSQLConversion) {
|
package/SqlEntityManager.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { SqlEntityRepository } from './SqlEntityRepository';
|
|
|
6
6
|
/**
|
|
7
7
|
* @inheritDoc
|
|
8
8
|
*/
|
|
9
|
-
export declare class SqlEntityManager<
|
|
9
|
+
export declare class SqlEntityManager<Driver extends AbstractSqlDriver = AbstractSqlDriver> extends EntityManager<Driver> {
|
|
10
10
|
/**
|
|
11
11
|
* Creates a QueryBuilder instance
|
|
12
12
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/knex",
|
|
3
|
-
"version": "6.0.8-dev.
|
|
3
|
+
"version": "6.0.8-dev.8",
|
|
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,6 +66,6 @@
|
|
|
66
66
|
"@mikro-orm/core": "^6.0.7"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@mikro-orm/core": "6.0.8-dev.
|
|
69
|
+
"@mikro-orm/core": "6.0.8-dev.8"
|
|
70
70
|
}
|
|
71
71
|
}
|