356 Commits (3221ab076962eaaa1d4286ce751f8ff8ea934e95)

Author SHA1 Message Date
SilverFire - Dmitry Naumenko 898fbfc6f8
fixed tests 7 years ago
Robert Korulczyk df91a9608f Fixes #14638: Added `yii\db\SchemaBuilderTrait::tinyInteger()` 7 years ago
Nikolay Oleynikov 74dc1cdc30 Fixes #13618: Active record now resets related models after corresponding attributes updates 7 years ago
Alexander Makarov 5e8fd58ddb
15630 fixed like escaping (#15642) 7 years ago
SilverFire - Dmitry Naumenko 1bbd2e1993
Add ExpressionInterface to Query class 7 years ago
SilverFire - Dmitry Naumenko 62d4604269
Added BetweenConditionBuilder 7 years ago
Alexander Makarov 00c0bb5804
Added test for #15630 (#15639) 7 years ago
SilverFire - Dmitry Naumenko 5bd6ed5684
Fixed issues in accidental merge of unfinished #15398 7 years ago
Alexander Makarov 64d57043b1
Fixes #11401: Fixed `yii\web\DbSession` concurrency issues when writing and regenerating IDs 7 years ago
Dmitry Naumenko de1750228d Fixes #13879: Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command` 7 years ago
Vladimir Reznichenko ecf3ef8bf9 Use root NS specification for opcoded functions 7 years ago
Zhukov Roman 40b038379f Fixes #13019: Support JSON in SchemaBuilderTrait 7 years ago
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