kevin-xw / rock-php

Automatically exported from code.google.com/p/rock-php
0 stars 0 forks source link

Running "modify" action inserts empty document. #199

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
RockMongo Version 1.1.0

When you do a "modify" command that will affect 0 documents it actually inserts 
one.

Query: {foo:'bar'}
Modify: {$set:{foo:'baz'}}
Click "Submit Query"

A document will be added with the value {_id:ObjectId(...), foo:'baz'}

Original issue reported on code.google.com by cm5...@gmail.com on 4 Jun 2012 at 10:13