Yii DB and drivers updates
2023-11-12
717次浏览
Yii Database package was tagged along with its drivers.
Yii Database 1.2
- Deprecate
TableSchemaInterface::compositeForeignKey()
andSchemaInterface::TYPE_JSONB
- Enhanced documentation of
batchInsert()
andupdate()
methods ofDMLQueryBuilderInterface
interface - Refactor
Quoter
- Move methods from concrete
Command
class toAbstractPdoCommand
class - Typecast values in
AbstractDMLQueryBuilder::batchInsert()
if column names with table name and brackets - Typecast values in
AbstractDMLQueryBuilder::batchInsert()
if values with string keys - Fix collected debug actions
- Fix
Quoter::quoteTableName()
for sub-query with alias - Quote aliases of CTE in WITH queries
- Fix
AbstractDMLQueryBuilder::batchInsert()
for values as associative arrays
- Fix incorrect convert string value for BIT type
- Fix retrieving sequence name from default value
- Refactor
JsonExpressionBuilder
,ArrayExpressionBuilder
andColumnSchema
- Refactor related with Yii DB 1.2
- Remove
QueryBuilder::getColumnType()
child method as legacy code - Refactor insert default values
- Refactor related with Yii DB 1.2
- Support json type
- Fix foreign keys: support multiple foreign keys referencing to one table and possible null columns for reference
- Refactor related with Yii DB 1.2
Yii DB MSSQL Server Driver 1.1
- Remove
RECURSIVE
expression from CTE queries - Fix type boolean
- Fix
DDLQueryBuilder::alterColumn()
for columns with default null - Refactor related with Yii DB 1.2
- Improve column type detection
- Remove
RECURSIVE
expression from CTE queries - Refactor related with Yii DB 1.2
新闻归档
热门标签
- yii3
- 扩展
- 发布
- yii2
- debug
- auth client
- view
- bootstrap
- html
- release
- redis
- apidoc
- Yii 2.0
- Yii 1.1
- mongodb
- mailer
- extensions
- twig
- gii
- queue
- runner
- http 客户端
- console
- validation
- sphinx
- cache
- widget
- translator
- hydrator
- error handler
- db
- symfonymailer
- log
- http
- config
- assets
- swiftmailer
- 图书
- imagine
- csrf
- elasticsearch
- swagger
- IDE
- i18n
- router
- definitions
- fastroute
- logging
- smarty
- user