Skip to content

Releases: TCB13/sequel-mongo-php

PHP 8.1

24 Jan 16:23
e789fcf
Compare
Choose a tag to compare
  • PHP 8.1 compatibility fixes

The Future And Beyond

20 Aug 13:04
8ad5fb1
Compare
Choose a tag to compare
  • Allow PHP versions >=7.2

Unwind fix

04 Nov 11:42
Compare
Choose a tag to compare
  • Unwind method fix to accomodate the recent changes in joins.

Multiple Joins

31 Oct 10:18
Compare
Choose a tag to compare
  • Multiple joins (lookups) and unwinds in a single query

Get Global Connection

13 Sep 16:23
Compare
Choose a tag to compare
  • Added QueryBuilder::getGlobalConnection method.

Update MongoDB Extension

11 Sep 10:45
Compare
Choose a tag to compare
  • Update MongoDB Extension

Debug you must!

05 Sep 14:58
Compare
Choose a tag to compare
  • Debug the final pipelines built by the query builder.
QueryBuilder::$pipelineDebug = true; // Enable pipeline debugging!

// Run a query
$result = (new QueryBuilder())->collection("xyz")
            ->where("active", true)
            ->findAll()
            ->toArray();

// Fetch the pipeline built by the Query Builder
var_dump(QueryBuilder::getLastPipelineLog()); // Get the pipeline built for the last query
var_dump(QueryBuilder::getPipelineLogs()); // Get all pipelines ever built by the query builder

Faster everything

04 Sep 17:33
Compare
Choose a tag to compare

Faster queries on large collections by removing the default order based on _id.

Update your pipelines!

17 Jul 18:09
Compare
Choose a tag to compare
  • QueryBuilder::update() implemented custom pipelines.

Simpler Dimensions

25 Jun 14:41
Compare
Choose a tag to compare
  • Added QueryBuilder::toUnidimensionalArray().