@mikro-orm/core 7.1.5-dev.20 → 7.1.5-dev.22
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/EntityManager.js +2 -0
- package/package.json +1 -1
- package/utils/Utils.js +1 -1
package/EntityManager.js
CHANGED
|
@@ -136,6 +136,7 @@ export class EntityManager {
|
|
|
136
136
|
await em.#entityLoader.populate(entityName, cached.data, populate, {
|
|
137
137
|
...options,
|
|
138
138
|
...em.getPopulateWhere(where, options),
|
|
139
|
+
orderBy: options.populateOrderBy ?? options.orderBy,
|
|
139
140
|
ignoreLazyScalarProperties: true,
|
|
140
141
|
lookup: false,
|
|
141
142
|
});
|
|
@@ -166,6 +167,7 @@ export class EntityManager {
|
|
|
166
167
|
await em.#entityLoader.populate(entityName, unique, populate, {
|
|
167
168
|
...options,
|
|
168
169
|
...em.getPopulateWhere(where, options),
|
|
170
|
+
orderBy: options.populateOrderBy ?? options.orderBy,
|
|
169
171
|
ignoreLazyScalarProperties: true,
|
|
170
172
|
lookup: false,
|
|
171
173
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/core",
|
|
3
|
-
"version": "7.1.5-dev.
|
|
3
|
+
"version": "7.1.5-dev.22",
|
|
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
|
"keywords": [
|
|
6
6
|
"data-mapper",
|
package/utils/Utils.js
CHANGED
|
@@ -141,7 +141,7 @@ export function parseJsonSafe(value) {
|
|
|
141
141
|
/** Collection of general-purpose utility methods used throughout the ORM. */
|
|
142
142
|
export class Utils {
|
|
143
143
|
static PK_SEPARATOR = '~~~';
|
|
144
|
-
static #ORM_VERSION = '7.1.5-dev.
|
|
144
|
+
static #ORM_VERSION = '7.1.5-dev.22';
|
|
145
145
|
/**
|
|
146
146
|
* Checks if the argument is instance of `Object`. Returns false for arrays.
|
|
147
147
|
*/
|