There are a few features requests somewhat related to that in jira,
like synthetic fields/index and the update system is due for a rewrite
in the next version or two.
https://jira.mongodb.org/browse/SERVER-340
https://jira.mongodb.org/browse/SERVER-458
Feel free to add requests in jira, and collect votes.
On Sat, Sep 15, 2012 at 12:59 PM, Nathan Smith <
na...@branchout.com> wrote:
> Hi all,
>
> We use Mongo in production and an issue I keep running into during the
> design phase is maintaining set consistency in an array using $addToSet
> leaves me unable to guarantee an accurate array size index using $inc on a
> separate field.
>
> In other words, I would like functionality like: $incIffAddToSetSucceeded.
>
> How does the Mongo community feel about this use case? Is there anything new
> being developed that might help?
>
> Specific feature request:
> From searching this forum, it seems like being able to declare a field in a
> document that automatically tracks the size of an array would be extremely
> useful. From my understanding of Mongo and BSON internals, this would be not
> difficult to implement.
>
> Best,
> nate
>
> --
> You received this message because you are subscribed to the Google
> Groups "mongodb-user" group.
> To post to this group, send email to
mongod...@googlegroups.com
> To unsubscribe from this group, send email to
>
mongodb-user...@googlegroups.com
> See also the IRC channel --
freenode.net#mongodb