[DOCS-8175] Comment on: "manual/tutorial/query-documents.txt" Created: 25/Jun/16 Updated: 30/Oct/23 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual, Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | collector-298ba4e7, docs-triage | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows, Netbeans Location: https://docs.mongodb.com/manual/tutorial/query-documents/ |
||
| Participants: | |
| Days since reply: | 1 year, 14 weeks, 2 days ago |
| Epic Link: | DOCSP-1769 |
| Description |
|
Should know how you specify the first parameter as a variable. E.g. ,{},function(e,docs){ works. But when I have {fsuser:/575f13cf6eb9d09fdf0f14c2/}in a JSON-Variable it does not work. May be due to the Quotation Marks. {"fsuser":"/575f13cf6eb9d09fdf0f14c2/"}. Because collection.find( {"fsuser":"/5762620c59a7aef450417047/"},{},function(e,docs){ It would be nice if there was an example of feeding the filter by a variable. |
| Comments |
| Comment by Education Bot [ 31/Oct/22 ] |
|
Hello! This ticket has been closed due to inactivity. If you believe this ticket is still important, please reopen it and leave a comment to explain why. Thank you! |