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
Carsten Brandt
cda3089623
Fixed batchInsert casting of double values according to locale ( #14448 )
...
fixes #6526
7 years ago
forevermatt
1d44de7b15
Fix abstract column type for unsigned primary key ( #14626 ) [skip ci]
7 years ago
Alexander Makarov
1f26db9fb7
Applied code style fixes
7 years ago
Sergey Makinen
92d2245ca6
Add support for an older SQLite in constraints ( fixes #14483 ) ( #14497 )
7 years ago
Carsten Brandt
69673c0c94
Rename Object -> BaseObject for PHP 7.2 compatibility
...
issue #7936
7 years ago
Boudewijn Vahrmeijer
03d53b785d
Fixes #14449 : Fix PHP 7.2 compatibility bugs and add explicit closure support in `yii\base\Application`
7 years ago
Robert Korulczyk
2fa4ccc1da
Fix phpdoc for $_master and $_slave properties in yii\db\Connection ( #14447 )
7 years ago
nikosid
fe607b83d2
Fixes #14434 : fixed metadata cache regression
7 years ago
qihuajun
f5e8a89319
Fix slave usage disabled after Connection::close, set _slave to false instead of nulll
...
fixes #14165
close #14168
7 years ago
Carsten Brandt
c9347b0a57
Fixed ambiguous column error on indexBy with JOIN
...
fixes #13859
close #14431
7 years ago
Carsten Brandt
173108b5b0
Move getTablesUsedInFrom() from ActiveQuery to Query
...
enable this feature on the Query level
close #14431
7 years ago
Carsten Brandt
0559a95db9
Fixed ambiguous column error in `BaseActiveRecord::refresh()`
...
when the query adds a JOIN by default
fixes #13757
7 years ago
Robert Korulczyk
12eb936083
Enable `heredoc_to_nowdoc` rule in php-cs-fixer ( #14419 )
7 years ago
Robert Korulczyk
fe8a0a6a2e
Enable `no_useless_else` rule in php-cs-fixer ( #14420 )
7 years ago
Carsten Brandt
a7d2aaffd5
mention usage of deleteAll() in AR unlinkAll
...
issue #14410
7 years ago
Carsten Brandt
53f380ca46
improved docs of Query::from()
...
fixes #14407
7 years ago
Alex
266bfc0419
fix phpDoc [skip ci] ( #14394 )
...
* fix phpDoc [skip ci]
* fix phpDoc [skip ci]
7 years ago
Carsten Brandt
ef457c340d
added missing abstract methods to ConstraintFinderTrait
7 years ago
Carsten Brandt
888f9f87b6
avoid dependency of SqlTokenizer on sqlite implementation
7 years ago
Sergey Makinen
ecf8984096
Mention an usage magic in descriptions
7 years ago
Sergey Makinen
f0c66c5a1d
Fix an unknown variable usage bug
7 years ago
Carsten Brandt
95950d1a23
updated phpdoc
7 years ago
Carsten Brandt
3e330f8b87
make schema cache version a constant
7 years ago
Sergey Makinen
164d3c83e9
Have I fixed these phpdocs? Let’s see…
7 years ago
Alex
6aa0ed2026
Adjusted PHP 7 return types [skip ci]
7 years ago