[SERVER-10787] Read-only views Created: 16/Sep/13 Updated: 30/Aug/18 Resolved: 16/Sep/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Andy Schwerin | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Support for read-only views consists of providing a mechanism for binding a namespace name to a (namespace name 2, query) pair, where the query might be a MongoDB query or an aggregation expression. For example, if you had a collection "housing.apartments", you might create a view housing.cheapApartments = (housing.apartments, { rent: { $lte: 1000 }}). Finds on cheapApartments would only consider those elements of housing.apartments where the "rent" field was less than 1000. |
| Comments |
| Comment by Andy Schwerin [ 16/Sep/13 ] |
|
Dupe of |