[CSHARP-1800] How to get the view data? Created: 17/Oct/16 Updated: 03/Dec/20 Resolved: 03/Dec/20 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Hu | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | question | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
I create a view,and the view is detected as a collection. |
| Comments |
| Comment by Hu [ 17/Oct/16 ] |
|
Is there a flag or property that tell me a collection is a collection or a view directly? |
| Comment by Hu [ 17/Oct/16 ] |
|
Sorry,FindAllAs does work by query the view create by the driver. } ] //department: 1 is convert to 1.0 by mongo shell??? |