Skip to content

Releases: rkrx/php-mysql-query-builder

Raised min php version to 8.0 + some php 8.4 related improvements

15 Nov 18:59
Compare
Choose a tag to compare
0.4

Updated README.md to reflect raise in php min version

Reorganized imports; fixed some issues reported by phpstan

17 Oct 08:50
Compare
Choose a tag to compare

Reorganized imports; fixed some issues reported by phpstan and hinted some false positives

TableNameBuilder: Now using UNION ALL when using data arrays to build ad-hoc tables

16 Feb 17:38
Compare
Choose a tag to compare

TableNameBuilder: Now using UNION ALL when using data arrays to build ad-hoc tables

Fixed type-definition for Select::where and Select::having

05 Sep 16:24
Compare
Choose a tag to compare

Fixed type-definition for Select::where and Select::having to reflect that DateTimeInterface as a arg parameter is accepted.

Enhanced typing for phpstan

14 Aug 18:09
Compare
Choose a tag to compare
0.3.9

Enhanced typing for phpstan

Composer: Fixed psr/log-requirement

18 May 12:44
Compare
Choose a tag to compare

Composer: Fixed psr/log-requirement

Fixed logging: In some cases, queries where logged twice

04 Feb 23:18
Compare
Choose a tag to compare

Added select-methods and refined where

11 Jan 14:50
Compare
Choose a tag to compare
  • Fieldnames (keys) of Key-Value-style where and having now can contain dots and will handles correctly in most cases.
    • In case the key already contains a backtick or a paranthesis the key will not be untouched.
  • Select: Added two methods getOrderBy and resetOrderBy

MySQL-Quoter can now handle datetime values with automatic time-zone conversion

19 Dec 19:42
Compare
Choose a tag to compare

You can now use DateTimeInterface objects as parameters in many places (where, having, join, etc). However, this does not apply to Prepared Statements, since here PHP directly handles the passed variables.

Unless otherwise specified, the default time zone set in PHP is used to calculate the database time. It is usually not possible to read usable timezone information from MySQL. The timezone can be specified when instantiating the MySQL object as the timezone parameter either as a string timezone, or as a DateTimeZone object.

Fixed exception handling bug

06 Dec 16:42
Compare
Choose a tag to compare
0.3.4.1

Fixed bug