solution / pipeline-builder
Build pipeline for Mongo Aggregation Query
Installs: 48 606
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 0
This package is not auto-updated.
Last update: 2024-11-20 12:01:02 UTC
README
Query builder for Mongo Aggregation Framework
Library not yet ready.
###Usage
$configuration = new Configuration(); $query = new Query($configuration); $pipeline = $query->addStage('stage1') ->match(['name' => 'Sasha', 'lastname' => 'Grey']) ->getQuery() ->getPipeline();
####Return
[ ['$match' => ['name' => 'Sasha', 'lastname' => 'Grey']] ];