summaryrefslogtreecommitdiff
path: root/jstests/find_and_modify_server6226.js
blob: a44cb59cb0589ed9bb38b6e86f9a31167534aff0 (plain)
1
2
3
4
5
6
7

t = db.find_and_modify_server6226;
t.drop();

ret = t.findAndModify( { query : { _id : 1 } , update : { "$inc" : { i : 1 } } , upsert : true } )
assert.isnull( ret )