Releases: nette/database
Releases · nette/database
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.
Released version 2.3.9
Released version 2.3.8
Released version 2.3.7
- Selection: Fixed infinite loop when accessing to deleted row
- SqlsrvDriver: support for limit and offset on SQL Server 2012
- drivers: fixed applyLimit for $limit = 0
- drivers:
applyLimit()
throws exception for negative values (but not when you usepage()
)
For the details you can have a look at the diff.
Released version 2.3.6
- Row, ActiveRow: shows suggestions for undeclared columns
- Selection: fixed bug with zero in primary key
- Selection: referenced cache cleared only for root selection (not in GroupedSelection)
- SqlsrvDriver::
applyLimit()
: supports keywords DISTINCT and ALL after SELECT - SqlBuilder: removed "AS" keyword in JOINs
- Structure: added columns analyze for views
For the details you can have a look at the diff.