1. Dmitry Belyaev
  2. emongo
  3. Issues
Issue #11 resolved

$set functionality

Anonymous created an issue

Does emongo support updating single fields with $set or $inc functionality (http://www.mongodb.org/display/DOCS/Updating#Updating-%24set)?

Didn't see this mentioned in the documentation at least. Thanks in advance!

Comments (1)

  1. Dmitry Belyaev repo owner

    Of course all special mongodb fields are working. As you can see in #10 you can use special collections and special fields, e.g. "$cmd" and "$reduce".

    I don't feel like adding helpers for those fields.

    In fact, in my production code I do use "$set".

  2. Log in to comment