285 Commits (46848f005125f000f7337639d8c4b89d235de46f)

Author SHA1 Message Date
Alexander Makarov c7e55450dd
Reverted #14593 7 years ago
Alexander Makarov a42bbd8f01
Fixes #14593: Added `yii\db\Command::EVENT_AFTER_EXECUTE` event that is triggered after command is executed 7 years ago
Dmitry Naumenko d16586334d Fixes #7640: Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL 7 years ago
wapmorgan 5afe0a0d36
Fixes #15047: `yii\db\Query::select()` and `yii\db\Query::addSelect()` now check for duplicate column names 7 years ago
Alexander Makarov 17186b24c1
Fixed test 7 years ago
Alexander Makarov b979b2aa88
Fixes #15355: Additional test and fix 7 years ago
Vladimir Reznichenko 67f67e3a69 SCA with Php Inspections (EA Extended) (#15571) 7 years ago
Klimov Paul 71c541773f PHPDoc fix 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
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