Skip to content

Releases: ThingEngineer/PHP-MySQLi-Database-Class

2.2 Release

28 Jul 07:07
Compare
Choose a tag to compare

Hey guys,

Seems its time to tag new release. Lot of work were done. Thank you for all your bugs posted.
Next release hopefully will bring insert on duplicate update support in Mysqli and couple new relation type.
Keep sending us pull requests and bug reports.

Thank you.

Changelog:

MysqliDb

  1. Allow prefix configuration from constructor ('prefix' array key)
  2. MysqliDb do not connect to mysql on object creation. Connection is established only before actual get()/insert()/update()/ping()/etc
  3. Added replace() functionality
  4. rawQuery() query filtering is disabled by default
  5. Added new query option MYSQLI_NESTJOIN to returned joined fields in separate array/object (like $product->user->id);
  6. Added ArrayBuilder(), ObjectBuilder(), JsonBuilder() to set mysqlidb return type.
  7. Fix for out of memory bug caused by long* data fields
  8. insert() now using setQueryOptions () options as well
  9. Corrected processing of a NULL and 0 values. Missing parameter wont cause condition to be ignored
  10. orderBy() fix for prefix usage.

DbObject

  1. Added caching for relation results
  2. insert() and save () now adds primary key property to the object after save
  3. Added JsonBuilder() to set json return type
  4. Bugfix for cases with prefix usage
  5. New table() method to avoid simple models creation

2.1 Release

07 Jun 21:00
Compare
Choose a tag to compare
  1. new dbObject wrapper
  2. Bugfixes, bugfixes, bugfixes.