Comments
This is useful for aggregating/merging event source pattern? standard with RDMS not MongoDB but couchbase has implementations map/reduce. Pre-query cached object to be queried held on DB
Code
As this is a database issue, TODO: investigate implementation for SQL server and MongoDB