mongodb/docs — pull request #4 by cwestin (2012-02-25 00:00:52+00:00)
Title: DOCS-134 review

Mostly I did small edits in place that clarify distinctions between values, objects/documents. In a couple of cases, there are larger changes I wasn't sure how you'd want to handle, so I marked them with TODO and made some comments.

While all the docs have been changed to use the shell's db..aggregate() shortcut, we should have something at the top of the reference that shows how to do this via db.runCommand(). Apparently the driver owners only just found out yesterday that they should be implementing this shortcut, and I'm worried not all of them will have it soon after 2.2 is released. Therefore, we should show the alternate command form so that users whose driver doesn't have the shortcut will know what to do. This has already come up, where users are now asking how to aggregate in drivers that have not been released with the shortcut.