v3.0.0
版本发布时间: 2019-02-20 15:12:38
nette/database最新发布版本:v3.1.9(2023-11-03 07:29:07)
Features
- requires PHP 7.1
- uses declare(strict_types=1)
- uses PHP 7.1 scalar and return type hints
- Helpers::loadFromFile added $onProgress
- SqlBuilder::tryDelimite() ignores casting
::int
- MsSql support for tables, columns, indexes, foreign keys (#215)
- Selection: fixed insert spoiling PDO:lastInsertId (#217)
- SqlBuilder: fixed compatiblity with PCRE2 used in PHP 7.3 [Closes #210]
Changes
- SqlPreprocessor: scalar are always passed via bindValue() (BC break)
- ResultSet: changed empty result return type of fetch() and fetchField() methods from FALSE to NULL [BC Break]
- removed unused ISupplementalDriver::normalizeRow() (BC break)
- removed unused ISupplementalDriver::formatBool()
- ISupplementalDriver: uncommented formatDateInterval() & getPrimaryAutoincrementKey()
- added ISupplementalDriver::initialize(), is used instead of constructor (BC break!)
- IRowContainer: Added method fetchField() (BC break)
- remove old sqlite2 driver (#155)
- removed meta info unsigned, onDelete, onUpdate
- Table: moved caching related functionality to separate classes (#185)