library pipeline-builder
Build pipeline for Mongo Aggregation Query
solution/pipeline-builder
Build pipeline for Mongo Aggregation Query
- Wednesday, April 9, 2014
- by f1nder
- Repository
- 1 Watchers
- 6 Stars
- 29,950 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 1 Forks
- 0 Open issues
- 2 Versions
- 1 % Grown
SolutionPipelineBuilder
Query builder for Mongo Aggregation Framework, (*1)
Library not yet ready., (*2)
Usage
``` php
$configuration = new Configuration();
$query = new Query($configuration);, (*3)
$pipeline = $query->addStage('stage1')
->match(['name' => 'Sasha', 'lastname' => 'Grey'])
->getQuery()
->getPipeline();, (*4)
####Return
``` php
[
['$match' => ['name' => 'Sasha', 'lastname' => 'Grey']]
];
dev-master
9999999-dev
Build pipeline for Mongo Aggregation Query
Sources
Download