128 Commits (5558ee793bb08383086dadfef264054ad7968427)

Author SHA1 Message Date
rhertogh c1b033a15f
Using ExpressionInterface instead of Expression in ActiveRecord::findbycondition() (#18188) 4 years ago
rhertogh 931f080aee
Fix #18182: `yii\db\Expression` was not supported as condition in `ActiveRecord::findOne()` and `ActiveRecord::findAll()` 4 years ago
Albert Borsos d2c2f63686 Fixes #17127: `yii\db\ActiveRecord::findOne()` now accepts table aliases 6 years ago
Dmytro Naumenko adf8f9a32f Fixes #15931: `yii\db\ActiveRecord::findOne()` now accepts quoted table and column names using curly and square braces respectively 6 years ago
Carsten Brandt b195d9e780
optimize table name 7 years ago
Carsten Brandt 0af1c05d6a
`yii\db\ActiveRecord::findOne()` now accepts column names prefixed with table name 7 years ago
Carsten Brandt a38302fdfd
improved filtering condition on yii\db\ActiveRecord 7 years ago
Alexander Makarov 5f75916cde
Wording adjustments and doc enhancements [skip ci] 7 years ago
SilverFire - Dmitry Naumenko b37f361ad7
Fixed possible SQL injection through `ActiveRecord::findOne()` 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
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 1501c659ac Add empty lines before return statements. (#14682) [skip ci] 7 years ago
Alexander Makarov 1f26db9fb7
Applied code style fixes 7 years ago
Carsten Brandt 0559a95db9 Fixed ambiguous column error in `BaseActiveRecord::refresh()` 7 years ago
Alex 6aa0ed2026 Adjusted PHP 7 return types [skip ci] 7 years ago
gagatust 6397791513 Fixed whitespaces to match code style [skip ci] 8 years ago
Klimov Paul 319e27c45c Fixed `yii\db\BaseActiveRecord::deleteAll()` changes method signature declared by `yii\db\ActiveRecordInterface::deleteAll()` 8 years ago
Carsten Brandt 30e599b94f
updated docs about deleteALl() and updateAll() 8 years ago
Carsten Brandt a3b6dfbb7b
Catch `\Throwable` in critical places 8 years ago
Robert Korulczyk 4aa935e69e Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc 8 years ago
Carsten Brandt f006db9b2b update docs of AR::update() 8 years ago
Roman Grinyov f0e999e017 Cosmetic changes (#12292) [skip ci] 8 years ago
cuiliang c0df003ac0 merge from master 8 years ago
Alexander Makarov 1f7134634b Use static:: instead of $this for static method calls 9 years ago
Carsten Brandt e43c41c9ea db layer phpdoc fixes 9 years ago
githubjeka 5326b7aaf6 refactoring for getTableSchema 9 years ago
Alexander Makarov 5ab4f0f090 Better quotes usage in strings 9 years ago
Carsten Brandt 6d9fe671de various code style and whitespace adjustments 9 years ago
╃巡洋艦㊣ 586684b050 2.0.5 bf7edc5 9 years ago
Carsten Brandt 30f003381d revised AR documentation 9 years ago
Alexander Makarov 67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 9 years ago
Klimov Paul 6751a80ea0 `yii\db\Schema::insert()` now returns primary key value for empty sequence 10 years ago
Klimov Paul b05ea3d69e PK typecast at `yii\db\ActiveRecord` restored 10 years ago
Paul Klimov 4e8ee7b001 Use RETURNING for inserts for pgsql and oci to support PKs with a custom default value expression 10 years ago
Qiang Xue fdb730a12a syntax fix [skip ci] 10 years ago
Jan Waś 6e48ed05c7 allow calling Command::insert() without any columns 10 years ago
Carsten Brandt 817bd4279a fixed AR phpdoc 10 years ago
Alexander Kochetov 29f5dc37a5 Correct phpDoc for return in several cases 10 years ago
Carsten Brandt 2897257ec1 fixed wrong docs about loadDefaultValues() and init() 10 years ago
Angel Faryshta Guevara ffe940180c simplify findByCondition 10 years ago
Qiang Xue 780fdd611a Fixes #6710 10 years ago
Alexander Kochetov d5176a463f better exception message 10 years ago
╃巡洋艦㊣ 1468bd4d3d version 2.0.1 84b42ab 10 years ago
Carsten Brandt db56384fcf improved documentation about loadDefaultValues() 10 years ago
Carsten Brandt 73cb5f8aac changed syntax for referencing the guide in apidoc 10 years ago
Carsten Brandt f099616967 improved IDE autocompletion for AR::find() 10 years ago
Carsten Brandt 25bf486b7f save some function calls on AR insert 10 years ago
RichWeber 92cd13a913 pull origin 10 years ago
Carsten Brandt 3a1e0f3a5c property codestyle framework 10 years ago