2017 © Pedro Peláez
 

library open-orchestra-model-bundle

A MongoDB implemantation of the Open Orchestra Model Interface

image

open-orchestra/open-orchestra-model-bundle

A MongoDB implemantation of the Open Orchestra Model Interface

  • Thursday, October 19, 2017
  • by open-orchestra
  • Repository
  • 10 Watchers
  • 2 Stars
  • 26,155 Installations
  • PHP
  • 7 Dependents
  • 1 Suggesters
  • 1 Forks
  • 1 Open issues
  • 68 Versions
  • 1 % Grown

The README.md

open-orchestra-model-bundle

The Open Orchestra model bundle, (*1)

Service Badge
Travis Build Status
Sensio insight SensioLabsInsight
Code Climate (Quality) Code Climate
Code Climate (Code coverage) Test Coverage
Latest Stable Version Latest Stable Version
Total Downloads Total Downloads

Usage

Once you have installed the bundle, you should activate the aggregator query bundle also in the AppKernel::registerBundles() :, (*2)

new OpenOrchestra\ModelBundle\OpenOrchestraModelBundle(),
new Solution\MongoAggregationBundle\SolutionMongoAggregationBundle(),

This will allow you to create aggregation query in your repositories by using the method :, (*3)

AbstractRepository::createAggregationQuery()

With the aggregation, mongo does not return the original document, but by using the $$ROOT parameter, you can add all the fields of the document to the response., (*4)

To hydrate all the documents using the database result, use the method :, (*5)

AbstractRepository::hydrateAggregateQuery()

The Versions

30/03 2015

v0.1.2

0.1.2.0

An implemantation of the model-interface for OpenOrchestra on mongo

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicolas Thal

13/03 2015

v0.1.1

0.1.1.0

An implemantation of the model-interface for OpenOrchestra on mongo

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicolas Thal

24/02 2015

v0.1.0

0.1.0.0

An implemantation of the model-interface for OpenOrchestra on mongo

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicolas Thal

18/02 2015

v0.0.7

0.0.7.0

An implemantation of the model-interface for phporchestra on mongo

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicolas Thal

11/02 2015

v0.0.6

0.0.6.0

An implemantation of the model-interface for phporchestra on mongo

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nicolas Thal