Releases: nette/database
Releases · nette/database
Released version 2.4.6
- Helpers::
detectTypes()added support for TIMESTAMP WITH TIME ZONE in PostgreSQL #163 (#198) - ResultSet: reads fraction of seconds to DateInterval (#197)
- ActiveRow: __isset checks the existence of the relation (#196)
- ConnectionPanel: compatibility with Tracy 2.5
For the details you can have a look at the diff.
Released version 2.4.5
Released version 2.4.4
Released version 2.4.3
fetchPairs()supports floats in keys- coding style: fixes, lowercase true/false/null
- SqliteDriver::
getColumns()fix regexp for autoincrement recognition (#168) - DatabaseExtension: added support for constants in options values
- OciDriver: do not use meta, driver is not meta-aware
For the details you can have a look at the diff.
Released version 2.3.11
Released version 2.4.2
- Insert to table with multi primary or without autoincrement primary (#105)(#41)(#80)(#102)
- Connection::
getInsertId()is normalized to string - fixed phpDoc
- DatabaseExtension: fixed compatibility with nette/di
- SqlBuilder: lose parameters for aliasses (#150)
- MySqlDriver:
formatLike()usesquote()
For the details you can have a look at the diff.
Released version 2.4.1
- SqlPreprocessor: escapes primary value of IRow #144
- Selection: missing primary key can be FALSE, '0' or '' #145
- ConnectionPanel: preserves whitespaces in explain panel #134
- Sqlite: fixed datetime column type
- SqlBuilder: added support for limit in update and delete queries (#140)
- tests: fixed compatibility with PHP 7.1
For the details you can have a look at the diff.
Released version 2.3.10
Released version 2.4.0
- requires PHP 5.6
- NDBT: Added alias support #119
- NDBT: added new method whereOr (#111)
- NDBT: Added ability to specify left join conditions
- NDBT: performance, prevents multiple parse of query parts by regexp (#131)
- NDBT: queries with limit/offset are automatically ordered by primary key
- NDBT:
page()for $page < 1 returns no rows - drivers: applyLimit throws exception for negative values (BC break)
- Improved checking of unique table name
Helpers::detectType()uses more strict type patterns- SqlPreprocessor: detects modes inside SQL string, before ?
- Selection: fixed columns cache in repeated use of same selection
- SqlBuilder: The same conditions with different parameter is not skipped #109, #14
PgSqlDriver::getTables()returns materialized views (#136)SqlsrvDriver::formatDateTime(): format datetime by ISO 8601- Connection: fifth argument is deprecated
- uses Nette\SmartObject & StaticClass
For the details you can have a look at the diff.