Yii Database package was tagged along with its drivers.
Yii Database 1.3
- Deprecate unnecessary argument
$rawSql
ofAbstractCommand::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
,AbstractPdoCommand
andAbstractDDLQueryBuilder
- 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 isStringable
object - Fix casting integer to string in
AbstractCommand::getRawSql()
- Fix bug with
Quoter::$tablePrefix
when changeAbstractConnection::$tablePrefix
property
- Support structured type
- Change property
Schema::$typeMap
to constantSchema::TYPE_MAP
- Create instance of
ArrayParser
directly - Resolve deprecated methods
- Minor
DDLQueryBuilder
refactoring - Support table view constraints
- Exclude from index column names fields specified in
INCLUDE
clause
- Change property
Schema::$typeMap
to constantSchema::TYPE_MAP
- Resolve deprecated methods
- Minor refactoring of
DDLQueryBuilder
andSchema
- Fix
Command::insertWithReturningPks()
method for empty values
- Remove unused code in
Command
class - Change property
Schema::$typeMap
to constantSchema::TYPE_MAP
- Remove unnecessary check for array type in
Schema::loadTableIndexes()
- Resolve deprecated methods
- Minor refactoring of
DDLQueryBuilder
andSchema
Yii DB MSSQL Server Driver 1.2
- Change property
Schema::$typeMap
to constantSchema::TYPE_MAP
- Resolve deprecated methods
- Minor refactoring of
Command
andQuoter
- Fix
DMLQueryBuilder::insertWithReturningPks()
andCommand::insertWithReturningPks()
methods
- Change property
Schema::$typeMap
to constantSchema::TYPE_MAP
- Allow to use
DMLQueryBuilderInterface::batchInsert()
method with empty columns - Resolve deprecated methods
- Fix execution
Query
without 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