XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Andy Schwerin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: