🔢 Do not use include near in count queries

Using MongoDB to build an API providing some search and filtering functionality. One of the searches was using the $near query. As part of the call the total number of documents matching the query also needed to be returned. ...

<span title='2014-02-26 00:00:00 +0000 UTC'>26 February 2014</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;Steve Hunt