[SERVER-2588] Piping Query Results Created: 18/Feb/11  Updated: 10/Dec/14  Resolved: 02/Apr/13

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

Type: New Feature Priority: Major - P3
Reporter: Thomas Tucker Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Ability to Pipe the results from one Query to another one (all server side).

db.purchaseOrders.find(

{VenderName : "10gen"}

,

{ponumber:1}

).pipeTo().poItems.find(

{ponumber :"$pipe.ponumber"}

)

to really spice things up you could add support for mapReduce piping as well (and the ability to mix them in any combination for as many times wanted)

db.purchaseOrders.mapReduce(...).pipeTo().poItems.find(...).pipeTo().venders.mapReduce(...)

preferably not to have the .pipTo() method call necessary. like so
db.purchaseOrders.mapReduce(...).poItems.find(...).venders.mapReduce(...)



 Comments   
Comment by Eliot Horowitz (Inactive) [ 02/Apr/13 ]

I think a lot of the intention here is covered by the aggregation framework (which came out about 18 months after this ticket was created)

Generated at Thu Feb 08 03:00:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.