发布于 2015-09-14 14:44:09 | 191 次阅读 | 评论: 0 | 来源: 网络整理
参数: |
|
---|---|
返回: | One document that satisfies the query specified as the argument to this method. If the projection argument is specified, the returned document contains only the projection fields, and the _id field if you do not explicitly exclude the _id field. |
Returns only one document that satisfies the specified query. If multiple documents satisfy the query, this method returns the first document according to the natural order which reflects the order of documents on the disc. In capped collections, natural order is the same as insertion order.