summaryrefslogtreecommitdiff
path: root/jstests/core/js9.js
blob: ec385475e1e385e6af5f2a3fa7708ab5bec485d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// @tags: [
//   requires_non_retryable_commands,
//   requires_fastcount,
// ]

c = db.jstests_js9;
c.drop();

c.save({a: 1});
c.save({a: 2});

assert.eq(2, c.find().length());
assert.eq(2, c.find().count());
assert.eq(2, c.find().itcount());