Skip to content

f1nder/SolutionPipelineBuilder

Repository files navigation

SolutionPipelineBuilder Build Status

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']]
        ];

About

PHP Query builder for Mongo Aggregation Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages