989 Commits (5609e918dee1e2f6d01ce4dbf12f85370ade304c)

Author SHA1 Message Date
Carsten Brandt 1cfc40d6e5 link to the guide on quoting from query phpdoc 10 years ago
Klimov Paul a0b8f74d2e `yii\db\Schema::insert()` primary key value composition fixed 10 years ago
Klimov Paul 6751a80ea0 `yii\db\Schema::insert()` now returns primary key value for empty sequence 10 years ago
Carsten Brandt f99f333218 added note to docs about #8085 10 years ago
Klimov Paul b8081b59b3 Fixed `yii\db\Query::count()` fails for query containing 'having' without 'group by' 10 years ago
Klimov Paul 767276362d Redundant typecast at `yii\db\Schema::insert()` removed 10 years ago
Klimov Paul b05ea3d69e PK typecast at `yii\db\ActiveRecord` restored 10 years ago
Klimov Paul 60aa5f3eb9 Redundant checks at `yii\db\oci\Schema::insert()` and `yii\db\pgsql\Schema::insert()` removed 10 years ago
Paul Klimov 31ef4c4504 Command execution at `yii\db\oci\Schema::insert()` fixed 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
Carsten Brandt ba0fd22c66 Update ColumnSchema.php 10 years ago
Jan Waś 698bfddeed Fixes #7847: `yii\db\ColumnSchema` was typecasting numerics to strings with incorrect decimal separator for some locales 10 years ago
Carsten Brandt 5306cac4b9 added support for subqueries to simple conditions 10 years ago
John Was 67799ad092 fix typos 10 years ago
Qiang Xue fdb730a12a syntax fix [skip ci] 10 years ago
Jan Waś edf400df96 add missing space 10 years ago
Jan Waś 6e48ed05c7 allow calling Command::insert() without any columns 10 years ago
Qiang Xue aead65f2d2 Fixes #7515: Added support to use `indexBy()` together with `column()` in query builder 10 years ago
Jan Waś ced423b601 Fixes #8012: Fixed fetching multiple relations between two tables for pgsql 10 years ago
John Was 901d640b55 Fixes #7973: Added `Schema::getSchemaNames` method 10 years ago
Alexander Makarov 9f8ca6b3db Removed join according to https://github.com/yiisoft/yii2/issues/7958#issuecomment-88872600 10 years ago
Jan Was 356d1b98a7 fix fetching pgsql indexes for older server versions 10 years ago
Jan Was ec7bbe1914 fix fetching pgsql constraints for older server versions 10 years ago
John Was 664958548f fix oci\Schema::findConstraints() and pgsql\Schema::findTableNames(); added missing view to oci tests 10 years ago
John Was 4d1ca9ff17 Fixes #7831: Add order when fetching database table names and constraints 10 years ago
John Was 29304a185a Fixes #7833: Support (materialized) views and foreign tables along normal tables when fetching table schema 10 years ago
Jan Was 48255a446d Fixes #7867: Fixes findUniqueIndexes not to perform any processing on unique index on function for pgsql, Implemented findUniqueIndexes for oci and mssql 10 years ago
John Was 4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER 10 years ago
Carsten Brandt 817bd4279a fixed AR phpdoc 10 years ago
Qiang Xue 99a612e1a6 Finished AR guide [skip ci] 10 years ago
Qiang Xue bd20b30b89 AR guide WIP [skip ci] 10 years ago
Carsten Brandt 2aace3714c minor adjustments 10 years ago
Alexander Kochetov 29f5dc37a5 Correct phpDoc for return in several cases 10 years ago
Qiang Xue 5a63ae324e Fixes #7211: Query caching should properly deal with the case when query result is false 10 years ago
Alexander Makarov 187322052d Fixed converting double to PHP type 10 years ago
Alexander Makarov c0e448bacb Changed CUBRID type for Double 10 years ago
Alexander Makarov 5870a74672 Added Schema::DOUBLE to represent ANSI SQL Double Precision 10 years ago
Carsten Brandt 2897257ec1 fixed wrong docs about loadDefaultValues() and init() 10 years ago
Carsten Brandt 89d1e55f91 phpdoc fix, close #7404 10 years ago
Qiang Xue 56dbd4cefa Fixes #7357: Refactored `yii\db\ColumnSchema` by adding `typecast()` method to decouple `phpTypecast()` from `dbTypecast()` 10 years ago
Jose 4e6b1fd5c6 Local loop variable added to fix #7271 bug 10 years ago
Jose Lorente 98759201ac Fixed bug #7271. Classes that call '*::populateRecord()' after retrieving data from ddbb call now the method on the class of the model returned by '*::instantiate()'. Tests for mysql, elasticsearch and mongodb attached. 10 years ago
Qiang Xue d9117a67b1 Fixes #7227: Query builder should respect column alias setting when `yii\db\Expression` is being selected 10 years ago
Alexander Makarov 6481d13494 Optimized checks order in conditions 10 years ago
Alexander Makarov af7ae33d5b Use (array) cast instead of !is_array check for both readability and performance 10 years ago
Angel Faryshta Guevara ffe940180c simplify findByCondition 10 years ago
Carsten Brandt 8c3dce88dd fixed phpdoc 10 years ago
resurtm 233388fdd6 Remove non-necessary leading slash in use operator. 10 years ago
Qiang Xue 84b20d57e4 Fixes #7055: composite IN condition was not generated correctly for certain DBMS 10 years ago
Jan Waś 1e5f159f78 override only mssql and sqlite QueryBuilder; throw an exception for composite in condition with a subquery 10 years ago