Yii Database package was tagged along with its drivers.
Yii Database 1.3
- Deprecate unnecessary argument
$rawSqlofAbstractCommand::internalExecute() - Specify result type of
QueryInterface::all(),CommandInterface::queryAll()andDbArrayHelper::populate()methods toarray[] - Specify populate closure type in
BatchQueryResultInterface - Skip calling
CommandInterface::getRawSql()if no logger or profiler is set - Specify result type of
ConstraintSchemaInterface::getTableIndexes()method toIndexConstraint[] - Remove unused code in
AbstractSchema::getTableIndexes() - Refactor
AbstractCommand::getRawSql() - Refactor
AbstractSchema::getDataType() - Remove unnecessary type casting to array in
AbstractDMLQueryBuilder::getTableUniqueColumnNames() - Add message type to log context
- Allow to use
DMLQueryBuilderInterface::batchInsert()method with empty columns - Deprecate
AbstractSchema::normalizeRowKeyCase()method - Deprecate
SchemaInterface::getRawTableName()and addQuoter::getRawTableName()method - Deprecate
SchemaInterface::isReadQuery()and addDbStringHelper::isReadQuery()method - Remove unnecessary symbol
\\fromrtrim()function insideDbStringHelper::baseName()method - Minor refactoring of
SchemaCache,AbstractPdoCommandandAbstractDDLQueryBuilder - Add psalm type for parameters to bind to the SQL statement
- Add more specific psalm type for
QueryFunctionsInterface::count()result - Fix
Query::count()when it returns an incorrect value if the result is greater thanPHP_INT_MAX - Fix bug of
AbstractCommand::getRawSql()when a param value isStringableobject - Fix casting integer to string in
AbstractCommand::getRawSql() - Fix bug with
Quoter::$tablePrefixwhen changeAbstractConnection::$tablePrefixproperty
- Support structured type
- Change property
Schema::$typeMapto constantSchema::TYPE_MAP - Create instance of
ArrayParserdirectly - Resolve deprecated methods
- Minor
DDLQueryBuilderrefactoring - Support table view constraints
- Exclude from index column names fields specified in
INCLUDEclause
- Change property
Schema::$typeMapto constantSchema::TYPE_MAP - Resolve deprecated methods
- Minor refactoring of
DDLQueryBuilderandSchema - Fix
Command::insertWithReturningPks()method for empty values
- Remove unused code in
Commandclass - Change property
Schema::$typeMapto constantSchema::TYPE_MAP - Remove unnecessary check for array type in
Schema::loadTableIndexes() - Resolve deprecated methods
- Minor refactoring of
DDLQueryBuilderandSchema
Yii DB MSSQL Server Driver 1.2
- Change property
Schema::$typeMapto constantSchema::TYPE_MAP - Resolve deprecated methods
- Minor refactoring of
CommandandQuoter - Fix
DMLQueryBuilder::insertWithReturningPks()andCommand::insertWithReturningPks()methods
- Change property
Schema::$typeMapto constantSchema::TYPE_MAP - Allow to use
DMLQueryBuilderInterface::batchInsert()method with empty columns - Resolve deprecated methods
- Fix execution
Querywithout table(s) to select from - Fix
Command::insertWithReturningPks()method for table without primary keys - Fix, table sequence name should be null if sequence name not found