blob: a4093142150fe6765a8b07d6138bff7a6391ae04 (
plain)
1
2
3
4
5
6
7
8
9
|
(function() {
'use strict';
var t = db.find_and_modify_server6226;
t.drop();
var ret = t.findAndModify({query: {_id: 1}, update: {"$inc": {i: 1}}, upsert: true});
assert.isnull(ret);
})();
|