[CDRIVER-1968] Does the 1.5.0 support views? Created: 28/Dec/16 Updated: 11/Sep/19 Resolved: 29/Dec/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libmongoc |
| Affects Version/s: | 1.5.0 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Critical - P2 |
| Reporter: | chang | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
windows |
||
| Description |
|
Hi, I searched the source code and release notes using key word "view" and browse the api reference, but still have no clue how well the view gets supported. Thank you |
| Comments |
| Comment by Hannes Magnusson [ 29/Dec/16 ] |
|
Yes, the 1.5.0 release does support view. There is actually not anything for a driver to support for in terms of using views, they are represented as collection so there isn't anything special we need to do to use them – however, creating them requires creating a special collection. Unfortunately, views have some limitation, such as not supporting $natural at the moment. See https://docs.mongodb.com/manual/core/views/#reference-views for further details |