[DOCS-9028] _addSpecial() flags not used by DBCollection.getCount() method eg collection.find()._addSpecial().count() Created: 28/Sep/16  Updated: 11/Jan/17  Resolved: 28/Sep/16

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Task Priority: Major - P3
Reporter: Emily Hall Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-7110 _addSpecial() flags not used by DBCol... Closed
Participants:
Days since reply: 7 years, 20 weeks ago

 Description   

It looks like the 'special' version of $comment isn't supported with count. One thing you might do is just put $comment inside your query like an operator, which is also supported:

db.test.find(

{ msg:"Test message 10000", $comment:"a comment" }

);



 Comments   
Comment by Emily Hall [ 28/Sep/16 ]

Closing issue because linked Server ticket was resolved as "Won't Fix"

Generated at Thu Feb 08 07:57:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.