Skip to content

Commit e397e72

Browse files
committed
INT-378 use {_id: -1} sort order for sampling
1 parent ff39f73 commit e397e72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/query-options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var Query = require('mongodb-language-model').Query;
44
// var debug = require('debug')('scout:models:query-options');
55

66
var DEFAULT_SORT = {
7-
$natural: -1
7+
_id: -1
88
};
99
var DEFAULT_LIMIT = 100;
1010
var DEFAULT_SKIP = 0;

0 commit comments

Comments
 (0)