333 Commits (e63a459a18924bc1672c473c1bbeadfc1b502879)

Author SHA1 Message Date
Alexander Makarov 18281c2156
Added test and adjusted changelog for #15112 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
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 f22f4a41c9
Removed empty array tests since it causes issues for ActiveQuery 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
Гордиенко Владислав Юрьевич dc019856b7 Fixes #15355: Fixed `yii\db\Query::from()` does not work with `yii\db\Expression` 7 years ago
Gabriel Caruso 2992b9b09d Refactored tests with PHPUnit assert methods (#15260) 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
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 fb23b0d0ea
Code style fixes 7 years ago
SilverFire - Dmitry Naumenko c0d8b0a817
Fixed sqlite tests 7 years ago
SilverFire - Dmitry Naumenko 06d7a1f0c6
Improved ConnectionTest performance 7 years ago
Dmitry Naumenko 7e7faeebd1 Fixed excess escaping in Command::batchInsert() (#13236) 7 years ago
Dmitry Naumenko 64d8af61a6 Fixes for PHP 7.2 compatibility (#14959) 7 years ago
SilverFire - Dmitry Naumenko b0148a5e8f
Added test to check issue #14274 7 years ago
Alexander Makarov 24efeb812c Added tests for Query Builder insert, update and delete (#14911) 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 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
Robert Korulczyk 0c0942d6e2 Enable `phpdoc_add_missing_param_annotation` rule in php-cs-fixer config. (#14681) [skip ci] 7 years ago
Robert Korulczyk b99e955627 Fix CS (#14665) 7 years ago
Carsten Brandt 3dbc07f8dd
fix test to work around PDO bug 7 years ago
Alexander Makarov 7cac7f131d
Set back original locale in #14448 test 7 years ago
Carsten Brandt cda3089623 Fixed batchInsert casting of double values according to locale (#14448) 7 years ago
Robert Korulczyk 6782ad96f0 Reduce `Segmentation fault` errors for PHP 5.4 tests on travis. (#14092) 7 years ago
Carsten Brandt 69673c0c94 Rename Object -> BaseObject for PHP 7.2 compatibility 7 years ago
qihuajun f5e8a89319 Fix slave usage disabled after Connection::close, set _slave to false instead of nulll 7 years ago
Carsten Brandt c9347b0a57 Fixed ambiguous column error on indexBy with JOIN 7 years ago
Carsten Brandt 173108b5b0 Move getTablesUsedInFrom() from ActiveQuery to Query 7 years ago
Carsten Brandt 0559a95db9 Fixed ambiguous column error in `BaseActiveRecord::refresh()` 7 years ago
Robert Korulczyk d2781cd232 Added configuration for headers in PHP files generated by `message/extract` command (#14417) 7 years ago
Robert Korulczyk 12eb936083 Enable `heredoc_to_nowdoc` rule in php-cs-fixer (#14419) 7 years ago
Sergey Makinen 452974cab3
Mark not supported constraint retrieving methods 7 years ago
Pavel Chaplygin e38310546e Fixes #14334: Fixed `\yii\db\QueryBuilder::buildNotCondition` loses params when operand is `\yii\db\Expression` 7 years ago
Sergey Makinen 3de6f8e397
Rename DefaultConstraint to DefaultValueConstraint 7 years ago
Sergey Makinen c8856ccd4e
Fix merging issues & CS 7 years ago
Carsten Brandt f212bc6caf ensure tablenames are not replaced in insert and update 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Tigrov 2b7e8be1e8
Fixes #14192: Fixed wrong default null value for TIMESTAMP when using PostgreSQL 7 years ago
Carsten Brandt 6e7ea782c0
fix cloning of DB connection for sqlite in-memory db 7 years ago
Alex-Code 7c6620a65f
Fixes #13846: Fixed `Query::count()` issue with `orderBy` 7 years ago
Alexander Makarov 9b8b965fcb
Fixes #14211: Fixed regression in Unique and Exist validators 7 years ago
Sergey Makinen 52f8539135
Add Command tests 7 years ago