Releases: rkrx/php-mysql-query-builder
Releases · rkrx/php-mysql-query-builder
Added Exception when attempting to execute a dry-run in a already opened transaction
Pre-release
- Added Exception when attempting to execute a dry-run in a already opened transaction, since it's not possible to nest transactions.
Added Database::dryRun(callable) for dry run simulations
- Added Database::dryRun(callable) for dry run simulations. This could be especially useful in unittesting-environments. InnoDB only (mysql).
It's now possible to pass a key-value-array to `where`- and `having`-conditions
Pre-release
- It's now possible to pass a key-value-array to
where- andhaving-conditions
DatabaseStatement::execute now returns $this instead of bool
- DatabaseStatement::execute now returns $this instead of bool. If the result of PDOStatement::execute is != true, DatabaseStatement::execute throws an exception from now on
0.1.37
0.1.36
DBExpr as a field-value
- You can now set a DBExpr as a field-value which will not be quoted when a query is generated