Alexander Makarov
b979b2aa88
Fixes #15355 : Additional test and fix
7 years ago
hiscaler
5483a2ef6c
Fixes #15076 : Perfect `yii\db\QueryBuilder` buildColumns function
7 years ago
Гордиенко Владислав Юрьевич
1a1fb49426
Fixes #15522 : Fixed `yii\db\ActiveRecord::refresh()` method does not use an alias in the condition
7 years ago
Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
7 years ago
Klimov Paul
b9cbc56330
Fixed `yii\db\ActiveRecord::with()` unable to use relation defined via attached behavior in case `asArray` is enabled
7 years ago
Chris Harris
a2a79a70eb
Fixes #13814 : MySQL unique index names can now contain spaces
7 years ago
Гордиенко Владислав Юрьевич
8d50844024
#15426 : Added ability to create and drop database views
7 years ago
hiscaler
d32b80eec9
Fixes #15122 : Fixed `yii\db\Command::getRawSql()` to properly replace expressions
7 years ago
Vovan-VE
00afe6a4b8
Fix: Query::each() without `indexBy()` zero based keys
7 years ago
Alexander
f8990ac97a
Fixes #15353 : Remove side effect of ActiveQuery::getTablesUsedInFrom() introduced in 2.0.13
7 years ago
Alexander Makarov
c501e3fde8
Revert "Fixed QueryBuilder docs ( #15427 ) [skip ci]" ( #15431 )
...
This reverts commit 7d1310ace7
.
7 years ago
Alec Smythe
7d1310ace7
Fixed QueryBuilder docs ( #15427 ) [skip ci]
...
documentation is wrong ... smallint() doesn't work, but smallinteger() does
7 years ago
Sergey Makinen
a3a3d1dcef
Document callable params [skip ci]
7 years ago
Sergey Makinen
cc2e28bd0e
Add transaction/retry support for yii\db\Command
7 years ago
SilverFire - Dmitry Naumenko
8f2cd050af
Fixed Query not to dig inside Expression
7 years ago
Alexander Makarov
7e8a4c8629
Minor adjustments
7 years ago
Alexander Makarov
ba931fa21d
Fixes #15356 : Fixed multiple bugs in `yii\db\Query::getTablesUsedInFrom()`
7 years ago
vladis
6c731d46d0
#15356 : Initial version of `yii\db\Query::getTablesUsedInFrom()` fix and tests
7 years ago
rossoneri
605478c043
Fixes #14157 : Add support for loading default value `CURRENT_TIMESTAMP` of MySQL `datetime` field
7 years ago
Sergey Makinen
315855f7f5
Fixes #15357 : Added multi statement support for `yii\db\sqlite\Command`
7 years ago
Chen Kui
04891af00a
Removed confusing comment about event triggering from BaseActiveRecord::init() ( #14303 ) [skip ci]
7 years ago
Гордиенко Владислав Юрьевич
dc019856b7
Fixes #15355 : Fixed `yii\db\Query::from()` does not work with `yii\db\Expression`
7 years ago
Ankit Padia
9944d7a49f
Fixed wrong description for param $table in addCommentOnTable() ( #15387 ) [skip ci]
7 years ago
Vladimir Reznichenko
185209957e
Fixes #15270 : Resolved potential race conditions when writing generated php-files
7 years ago
Sergey Makinen
b7d5393a08
Fixes #15194 : Fixed `yii\db\QueryBuilder::insert()` to preserve passed params when building a `INSERT INTO ... SELECT` query for MSSQL, PostgreSQL and SQLite
7 years ago
Carsten Brandt
7904bc2629
added note to QueryInterface::where()
7 years ago
Sergey Makinen
85b65c889a
Fixes #15117 : Fixed DB schema cache did not honor table prefixes
7 years ago
Sergey Makinen
4e176ca325
Fixes #15108 : Fixed `yii\db\Schema::getSchemaNames()` for MSSQL and added tests for all DBMSes
7 years ago
Alexander Makarov
2d672b6722
release version 2.0.13
7 years ago
Alexander Makarov
fb23b0d0ea
Code style fixes
7 years ago
Carsten Brandt
93bbf5b39d
Fixes #15015 : Added `StringHelper::floatToString()` to savely cast float values independent of the locale, also fixes some places in the framework that use it now
7 years ago
Pavel Dovlatov
6330a2b779
Small phpdoc fix in `\yii\db\QueryTrait::emulateExecution()` [skip ci] ( #15021 )
7 years ago
Dmitry Naumenko
7e7faeebd1
Fixed excess escaping in Command::batchInsert() ( #13236 )
7 years ago
Nelson J Morais
980cfde0f1
Fixes #14877 : Disabled profiling on connection opening when profiling is disabled
7 years ago
Dmitry Naumenko
64d8af61a6
Fixes for PHP 7.2 compatibility ( #14959 )
7 years ago
Dmitry Kulikov
1e0157f0ac
Fixes #7316 : Documentation for ActiveRelationTrait::inverseOf() [skip ci] ( #14892 )
7 years ago
Alexander Makarov
1f24fd35b9
Fixes #14910 : adjusted safeUp()/safeDown() docs [skip ci]
7 years ago
santilin
6eae7fba59
Fixed typo: an => a in batchInsert [skip ci]
7 years ago
Michael Härtl
5522d1909c
Clarify how joinWith()/innerJoinWith() deals with eager loading [skip ci]
7 years ago
SilverFire - Dmitry Naumenko
f9fd4da8de
Fixed MySQL 5.7 compatibility
...
’’’
General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column information_schema.kcu.ORDINAL_POSITION
’’’
7 years ago
SilverFire - Dmitry Naumenko
5aedb9e040
Fixed typo in PHPDocs
7 years ago
Gediminas Šedbaras
4c61d96786
Corrected return type of BaseActiveRecord::findOne ( #14798 )
7 years ago
Klimov Paul
9e6f9e3b6d
Fixed serialization of `yii\db\Connection` instance closes database connection
7 years ago
Paul Klimov
d68789a195
Fixes #13779 , fixes #5786
...
- #13779 : Fixed `yii\db\ActiveRecord::joinWith()` unable to use relation defined via attached behavior.
- #5786 : Allowed to use custom constructors in ActiveRecord-based classes.
7 years ago
Francis Lavoie
9588c8f5a4
Fixes #13853 : Added `yii\db\Migration::$compact` as well as `yii\console\controllers\BaseMigrateController::$compact` to allow making the migration console output more compact
7 years ago
Carsten Brandt
98a71d8b0d
Adjust QueryInterface and QueryTrait types on where() ( #14714 )
...
these did never allow a string condition. Only SQL Query and AR implementation do.
fixes #14496
7 years ago
SilverFire - Dmitry Naumenko
79ad74f763
Fixed wrong PHPDoc annotaion in ActiveRecordInterface
...
Closes #14496
7 years ago
Carsten Brandt
8ff3756d55
remove loop over an array with one element
...
small optimization, fixes #12061
7 years ago
Robert Korulczyk
5a8c3d537b
Enable `phpdoc_summary` rule in php-cs-fixer config ( #14675 )
...
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
7 years ago
Robert Korulczyk
1501c659ac
Add empty lines before return statements. ( #14682 ) [skip ci]
7 years ago