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

make syre refs to virtual collections work

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Usability
    • Labels:
      None

      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"}
      }

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

              Created:
              Updated:
              Resolved: