f1nder / SolutionMongoAggregationBundle

This Bundle integrates mongo aggregation queries into you Symfony2 project.
12 stars 3 forks source link

Would like to add some features #2

Closed tschelik closed 9 years ago

tschelik commented 10 years ago

Hi there,

Nice bundle. :+1: I would like to add some features like setCollection, etc. to the bundle. Lots of projects need dynamic collection names, so are you ok with that?

f1nder commented 10 years ago

Hi. Thanks for your interest. What do you mean by "dynamic collection names"?

You can use bundle for custom collections like this

use \Solution\MongoAggregationBundle\AggregateQuery\AggregateCollection;

$query = new AggregateCollection($collection)
           -> createAggregateQuery()
           ...