Releases: JarJak/DBALManager
Releases · JarJak/DBALManager
Release 3.0
Major release with BC Breaks.
Main changes:
- requires
PHP >= 7.1
- uses strict typing
- all deprecated methods have been removed
setConnection
has been removed. Pass connection to constructor instead.- main methods have lost
ByArray
suffix - improved tests coverage
Release 2.1.2
Fix return as array
Release 2.1.1
Fix return as array
Release 2.1
This release contains bunch of fixes as well as updated tests.
This is also probably last release with PHP 5.6 support. Version 3.0 will support PHP 7.
New features:
multiInsertOrUpdateByArray
can now return an array with inserted and updated rows counts instead of single integer count. Example:
$res = $dbal->multiInsertOrUpdateByArray(
'dumb_table',
[['dumb' => 'value'], ['dumb' => 'value']],
0,
false,
true // <- set this to true to return array (default: false)
);
dump($res); // ['inserted' => 0, 'updated' => 0]
Release 2.0
DBALManager class splitted into 3 classes for SRP:
- DBALManager
- SqlDumper
- SqlPreparator
dump*()
functions now fallbacks to var_dump()
if VarDumper
is not installed.
Tests have been added.
Methods insertByArray
, updateByArray
are now deprecated.
New method multiInsertOrUpdateByArray
.
NO BC BREAKS so far.
Release 1.1.0
new method "multiInsertIgnoreByArray"