[GODRIVER-1156] CountDocuments doesn't work with a hint Created: 20/Jun/19 Updated: 27/Oct/23 Resolved: 05/Aug/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | CRUD |
| Affects Version/s: | 1.0.1 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Palash Nigam | Assignee: | Emmanuel Eppinger (Inactive) |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
mongodb v4.0.6 |
||
| Attachments: |
|
| Description |
|
I am trying to run CountDocuments with a hint but it isn't working. It returns an error `unrecognized field hint`
This is my code
``` |
| Comments |
| Comment by Emmanuel Eppinger (Inactive) [ 24/Jun/19 ] |
| Comment by Emmanuel Eppinger (Inactive) [ 24/Jun/19 ] |
|
Hi Palash, Would you be able to provide a SSCCE (http://sscce.org/) that reproduces the issue on the master branch? Thanks, Emmanuel |
| Comment by Palash Nigam [ 24/Jun/19 ] |
| Comment by Emmanuel Eppinger (Inactive) [ 21/Jun/19 ] |
|
Hi Palash, I was unable to reproduce this issue. Would you be able to give a full reproduction of this bug? Something like a complete file that prints out the error. Also would you be able to do this for 1.0.3? Thanks, Emmanuel |