solution / pipeline-builder
Build pipeline for Mongo Aggregation Query
Installs: 48 414
Dependents: 1
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 0
This package is not auto-updated.
Last update: 2024-10-23 11:41:03 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']] ];