add atomic output collection to DBQuery

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Query
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A Map/Reduce query can atomically output its results to a separate collection, which is nice for a job where you want to create "views" of the data that you can then query within.

      It would be nice if immediate queries could do the same thing, eg.

      db.mycollection.find(

      {hasAttachments:true}

      ).out(attachcollection);

      It could operate asynchronously, and attachcollection would remain unmodified until the query was complete after which it would be atomically swapped with the temporary collection in which the new results reside.

            Assignee:
            Backlog - Query Team (Inactive)
            Reporter:
            Sam Kass
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: