What's the best to go for? #1 (db.eval) is a blocking action so I'd rather not take that option. #2 does the job but wraps the output in a value object that I don't need/want. #3 seems like a very roundabout way of doing #1 but at least it doesn't block.
> --
> You received this message because you are subscribed to the Google Groups
> "mongodb-user" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mongodb-user/-/i7T70xJ6s10J.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
> mongodb-user...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mongodb-user?hl=en.