Skip to content

Releases: ThingEngineer/PHP-MySQLi-Database-Class

v2.9.3: Revert "Now getInstance function will create new MysqliDb object if …

24 Aug 09:32
03dbce1
Compare
Choose a tag to compare

Bugfix release.

  1. remove legacy >where("firstname", Array ('LIKE' => '%John%'))
  2. Add getValue() method for models
  3. FIX #800 joinWhere() not using $prefix
  4. support Chinese characters in orderBy
  5. Set db->count with affected_rows on delete
  6. Bring up the $totalCount in dbObject::paginate()
  7. Keep objects mapped (#763)

2.9.2 Bugfix Release

08 Feb 05:08
e122f8e
Compare
Choose a tag to compare

Make recent versions of composer happy about license name

bugfix release

30 Nov 10:30
30d7d0f
Compare
Choose a tag to compare

declare missing variable

2.9 Release

29 Nov 15:03
1f45192
Compare
Choose a tag to compare

Added multiple connections support
Added autoreconnect if connection lost
Fixed groupBy with spaces in field declaration
Do not reset connection name in transaction
Fix for #554 Fixing Join usage with 'USING' instead of 'ON'
FIX #626: dbObject not finding relations (#667)
Adding ORDER BY REGEXP possibilite

2.8 Release

02 Aug 16:17
Compare
Choose a tag to compare

I wanted to say thank you for all the guys who were submitting their pull requests.
Thank you @ilyagory , @thingNumber1 , @Skazzino , @shimscharf , @tom29.
@ricwein I appreciate you support efforts!
You guys rock!

Changelog:

  1. Multiple databases support
  2. Added autoreconnect
  3. Fix issue where orderBy strips spaces from fieldname
  4. Remove unneeded destructor
  5. Add socket option to constructor
  6. Added a function to disconnect from mysql server
  7. Adding ORDER BY REGEXP possibilites
  8. dbObject: Added "Hidden Fields"
  9. Multiple bugfxes and documentation update

2.7 release

18 Nov 16:17
Compare
Choose a tag to compare
  1. new MysqliDb::insertMulti() Method
  2. new joinWhere() and joinOrWhere() Methods
  3. All fatal errors converted to exceptions

v. 2.6

10 May 14:24
Compare
Choose a tag to compare

dbObject: added paginate()
Add limit support to update
Allow space in orderBy()
Add getLastErrno()
Lot of bugfixes and documentation improvements

Thank you everybody for your pull requests and bug reports!

2.5 Release

08 Nov 22:14
Compare
Choose a tag to compare

new bugfixes
added having() and orHaving() method for having conditions support
added new map() method for easy result array id manipulation
orderBy(): added more chars to whitelist
dbObject: added new double validation type
dbObject: lot of private->protected changes to allow method overloads via extend classes

2.4 Release

15 Oct 17:10
Compare
Choose a tag to compare

Mostly a bugfix release.
Support for FOR UPDATE and LOCK IN SHARE MODE in selects
Support for join in delete()
rawQuery() should populate count now
Added '', ' and * chars for orderBy and groupBy
Throw an exception if connection were failed
JsonBuilder() should return $this
onDuplicate() should return $this
fix for nestJoin on multiple joined tables
dbObject: Set primary key on create if primary key is set, but empty
dbObject: visibility changes for bunch of private functions

2.3 Release

27 Aug 07:34
Compare
Choose a tag to compare

Added onDuplicate() method implementing INSERT ... onDuplicate UPDATE sql queries
Fix for HHVM environments
Changed inc() and dec() methods to support float values
Added an ability for getValue() to return column from multiple rows as array
New tableExists() method
trigger_error() replaced with Exception()