Skip to content

Releases: TCB13/sequel-mongo-php

You shall merge!

04 Mar 18:10
Compare
Choose a tag to compare
  • QueryBuilder::merge() - takes a variable number of QueryBuilder instances and merges them into one;
  • Added SpecialFunction interface;
  • Better PSR compliance.

Join

26 Feb 16:14
Compare
Choose a tag to compare
  • Fix Join() localField and foreignField order.

Push & Pull

20 Feb 13:53
Compare
Choose a tag to compare
  • Added Class Push and Pull to use on collection updates.

Safe Regex

12 Feb 15:53
Compare
Choose a tag to compare
  • Safer regex searches.

Minimize

06 Feb 11:30
Compare
Choose a tag to compare
  • Added Function Min();
  • Improved variable naming consistency;
  • Better documentation.

You Shall Increment

06 Feb 10:30
Compare
Choose a tag to compare
  • New Increment special function;
  • Improved Where() operator detection;
  • Fixed RawFilter bugs.

Special Ops

04 Feb 13:52
Compare
Choose a tag to compare

New features:

  • PHP DateTime objects passed to insert() and update() are now automatically converted to MongoDB's UTCDateTime instances;
  • setGlobalConnection(): set a global connection to be used by all new instances of the query builder;
  • Class Count: count the number of documents/records that match a query;
  • Class ArrayContains: check if an array in a document contains a value;
  • Class ArrayLength: get the length of an array;
  • Class Max: get the maximum value in a set of values.
  • whereContains(), whereStartsWith() and other string related queries can now be set as case sensitive or not;

Improvements and bug fixes:

  • Result ordering now working;
  • More reliable alias on select();
  • Better result deserialization - data-types on nested documents are now kept as they are stored on the database. The old behavior can still be used by calling toArray(true).

You shall normalize!

25 Jan 14:23
Compare
Choose a tag to compare

Fixed:

  • Filter normalization for delete() and update();
  • Issues when a result is casted to an object;
  • Typos

Name it Wisely!

25 Jan 12:12
Compare
Choose a tag to compare
1.0.2

Typo fix.

Name it Wisely!

25 Jan 12:09
Compare
Choose a tag to compare
1.0.1

Typo fix.