@karmaniverous/entity-manager 4.3.0-1 → 4.3.0-2
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.
|
@@ -254,7 +254,7 @@ export class EntityManager {
|
|
|
254
254
|
);
|
|
255
255
|
|
|
256
256
|
// Return empty result if no pageKeys.
|
|
257
|
-
if (_.isEmpty(pageKeys)) return { items: [], pageKeys: {} };
|
|
257
|
+
if (_.isEmpty(pageKeys)) return { count: 0, items: [], pageKeys: {} };
|
|
258
258
|
|
|
259
259
|
// Calculate shard limit.
|
|
260
260
|
const shardLimit = _.isUndefined(limit)
|