Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-158

make syre refs to virtual collections work

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • Usability
    • None

    Description

      Would be great if the DB ref spec. (http://www.mongodb.org/display/DOCS/DB+Ref+Specification) supported deep referencing.

      Perhaps something along the lines {$id:1, $ref:"collection", $namespace:"chairs"}

      Also, preferably both support for single embedded objects in an situations where there would be an array of embedded objects. Eg. it should be possible to reference both a single chair and a single roof.

      Example:
      {
      _id:1,
      type:"house",
      chairs:[ {_id:1, color:"black"}, {_id:2, color:"red"}, {_id:3, color:"blue"}]
      roof: {_id:1, material:"wood"}
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            sandstrom sandstrom
            Votes:
            6 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: