unset op comment
authorАнтон Адаманский <adamansky@gmail.com>
Fri, 6 Feb 2015 09:53:36 +0000 (15:53 +0600)
committerАнтон Адаманский <adamansky@gmail.com>
Fri, 6 Feb 2015 09:53:36 +0000 (15:53 +0600)
tcejdb/ejdb.h

index 0f40cd1..e3a32b5 100644 (file)
@@ -325,6 +325,8 @@ EJDB_EXPORT bson* ejdbloadbson(EJCOLL *coll, const bson_oid_t *oid);
  *          - {.., '$pullAll' : {'fpath' : [array of values to remove], ...}}
  *             $rename Rename field operation
  *                     - {.., '$rename' : {'oldfname1' : 'newfname1', 'oldfnameN' : 'newfnameN'}}
+ *      $unset Unset the specified fields
+ *          - { $unset: { 'fpath1' : "", ... } }
  *
  * - Collection joins supported in the following form:
  *