[CSHARP-1502] db.RunCommand() does work for "find" command in c# Created: 11/Dec/15 Updated: 05/Apr/19 Resolved: 11/Dec/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | API |
| Affects Version/s: | 1.10.1 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Blocker - P1 |
| Reporter: | Nikhil Salunkhe | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | question | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: Windows 8 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
I am running following command in C# using mongo .NET AP.
And Error I see is: ) |
| Comments |
| Comment by Nikhil Salunkhe [ 11/Dec/15 ] |
|
Thank you very much. It works now. On Fri, Dec 11, 2015 at 3:43 PM, Nikhil Salunke <nikhilsalunkhe@gmail.com> |
| Comment by Nikhil Salunkhe [ 11/Dec/15 ] |
|
Thansk you! Where can I download Mongo 3.2.0? On Fri, Dec 11, 2015 at 3:41 PM, Craig Wilson (JIRA) <jira@mongodb.org> |
| Comment by Craig Wilson [ 11/Dec/15 ] |
|
Hi Nikhil, You are using version 3.0.7 of the server. The find command was not introduced until server version 3.2.0. You'll need to upgrade your server in order to use the find command. On a separate note, there is no need for you to manually invoke the find command anyways. The 1.11 and 2.2.0 drivers will use the find command automatically when it is available when you using a collection.Find call. Craig |