@resolveio/server-lib 4.6.15 → 4.6.16
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/methods/logs.js +20 -0
- package/package.json +1 -1
package/methods/logs.js
CHANGED
|
@@ -204,6 +204,16 @@ function loadLogMethods(methodManager) {
|
|
|
204
204
|
$sum: 1
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
$sort: {
|
|
210
|
+
'_id.year': 1,
|
|
211
|
+
'_id.month': 1,
|
|
212
|
+
'_id.day': 1,
|
|
213
|
+
'_id.hour': 1,
|
|
214
|
+
'_id.minute': 1,
|
|
215
|
+
'_id.second': 1
|
|
216
|
+
}
|
|
207
217
|
}
|
|
208
218
|
]).allowDiskUse(true)];
|
|
209
219
|
case 3:
|
|
@@ -265,6 +275,16 @@ function loadLogMethods(methodManager) {
|
|
|
265
275
|
$sum: 1
|
|
266
276
|
}
|
|
267
277
|
}
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
$sort: {
|
|
281
|
+
'_id.year': 1,
|
|
282
|
+
'_id.month': 1,
|
|
283
|
+
'_id.day': 1,
|
|
284
|
+
'_id.hour': 1,
|
|
285
|
+
'_id.minute': 1,
|
|
286
|
+
'_id.second': 1
|
|
287
|
+
}
|
|
268
288
|
}
|
|
269
289
|
]).allowDiskUse(true)];
|
|
270
290
|
case 4:
|