Skip to content

Releases: PartechGSS/laravel-mongo-aggregate-builder

addChunk

Choose a tag to compare

@derekrprice derekrprice released this 16 Dec 17:51
3fc68f9

Support lazy chunking on the aggregate results.

Added addRawStages

Choose a tag to compare

@Ashenfalke Ashenfalke released this 23 Sep 18:05
6151f40

Loosened the composer requirements to allow for newer versions of Laravel.
Added a raw version of addStages function, addRawStages. They both return $this for chaining.
Invalid or unsupported stage names found while executing addStages will now throw a MongoDB InvalidArgumentException.

MongoDB Bson types fix, first, and limit

Choose a tag to compare

@cbaker cbaker released this 12 Feb 19:30
3410f8b

A bug where MongoDB\BSON types would be casted to a string has been fixed.

first is now supported on the aggregate builder via Model::builder()->first()
Optionally you can pass in an array of fields to select to first if you aren't already projecting them.

limit is now support on the aggregate builder via Model::builder()->limit(10)->get()

Static instantiation & ability to add raw stage

Choose a tag to compare

@cbaker cbaker released this 11 Feb 16:04
7d16e9d

Added ability to instantiate a new aggregate builder via
Model::builder()

Added ability to add a raw stage to the pipeline.
Model::builder()->addStage(/** array containing valid stage here */)

Minimal mongodb driver only registered automatically for testing

Choose a tag to compare

@Ashenfalke Ashenfalke released this 18 Dec 16:14
8d2c774
1.3

Merge pull request #5 from PartechGSS/fix-connection-service-provider…

Documentation and unwind stage

Choose a tag to compare

@Ashenfalke Ashenfalke released this 17 Dec 14:51
a328090
Merge pull request #4 from PartechGSS/add-unwind-stage

Add unwind stage

Don't register mongdb driver if one exists

Choose a tag to compare

@Ashenfalke Ashenfalke released this 16 Dec 19:33
05d5c69
1.1

Merge pull request #3 from PartechGSS/add-dsn-parser-for-default-data…

Dependency rework

Choose a tag to compare

@Ashenfalke Ashenfalke released this 16 Dec 14:56
34d80e8
Merge pull request #2 from PartechGSS/Add-model-connection-test

Updated dependencies to be less cutting edge

Base aggregate builder

Choose a tag to compare

@Ashenfalke Ashenfalke released this 15 Dec 20:53
47d7aeb
Merge pull request #1 from PartechGSS/Add-model-connection-test

Add model connection test