[SERVER-979] Add a way to copy the result of a query to a collection quickly Created: 07/Apr/10  Updated: 16/Jan/11  Resolved: 16/Jan/11

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor - P4
Reporter: Tommy V Assignee: Eliot Horowitz (Inactive)
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

n/a, but my environment is:
db version v1.4.0, pdfile version 4.5
Wed Apr 7 10:26:43 git version: 514f8bbab657c1dc110d45eea6ea33de296dbb26
On amd64


Participants:

 Description   

It would be nice if MongoDB provided some way to output results of a standard query to a collection. With MapReduce, this is already possible (and in fact the only way to get to your results). I like to have this, because I am developing an application that allows users to 'chain' several small scripts than perform operations on the database, and each of them has to pass the query result to the next script. The roundtrips of data between my server and the database server take up way too much time, while the data can easily stay within the database server if this feature is implemented. It also seems as if this is not very difficult to implement...



 Comments   
Comment by Eliot Horowitz (Inactive) [ 16/Jan/11 ]

See other cases linked

Comment by Scott Hernandez (Inactive) [ 12/Aug/10 ]

Looks like http://jira.mongodb.org/browse/SERVER-1307 is scheduled for 1.7.x and will do this.

Comment by Tommy V [ 08/Apr/10 ]

See also:
http://jira.mongodb.org/browse/SERVER-610
http://jira.mongodb.org/browse/SERVER-775

Generated at Thu Feb 08 02:55:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.