mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
8 lines
261 B
JavaScript
8 lines
261 B
JavaScript
|
db.f.drop();
|
||
|
db.f.save( {} );
|
||
|
db.f.save( {} );
|
||
|
db.f.save( {} );
|
||
|
assert.eq( 0, db.runCommand( {cursorInfo:1} ).clientCursors_size );
|
||
|
assert.eq( 2, db.f.find( {} ).limit( 2 ).toArray().length );
|
||
|
assert.eq( 1, db.runCommand( {cursorInfo:1} ).clientCursors_size );
|