1289 Commits (56f639358c0951b32036e91b642526b14cb97c4f)

Author SHA1 Message Date
SilverFire - Dmitry Naumenko 01636ae45a
Revert "Use QueryBuilder->buildExpression for Query where possible" 7 years ago
SilverFire - Dmitry Naumenko 79679b9b6c
Use QueryBuilder->buildExpression for Query where possible 7 years ago
SilverFire - Dmitry Naumenko e806a3b50a
Added `yii\db\ExpressionInterface` support to `yii\db\Command::batchInsert()` 7 years ago
Carsten Brandt 488f98648a
added missing `@since` annotations 7 years ago
Alexander Makarov 10bab28423
Mentioned new data caching methods in the guide [skip ci] 7 years ago
SilverFire - Dmitry Naumenko da06c4a1e1
Fixed QueryBuilder::buildCondition() to skip empty array on input 7 years ago
SilverFire - Dmitry Naumenko 5da39b4a7e
Fixed PHPDocs 7 years ago
Brandon Kelly 47674e1266 #13879: Added yii\db\Migration::upsert() 7 years ago
Carsten Brandt e493843b1c
improve `@deprecated` annotations 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 7e7cae7acb
Changed conditions properties visibility to private 7 years ago
SilverFire - Dmitry Naumenko 8f6e2560bc
Change BetweenColumnsCondition properties visibility 7 years ago
SilverFire - Dmitry Naumenko 1bbd2e1993
Add ExpressionInterface to Query class 7 years ago
SilverFire - Dmitry Naumenko 62d4604269
Added BetweenConditionBuilder 7 years ago
remond 78a151bdae
Fixes #14859: Fixed OCI DB `defaultSchema` failure when `masterConfig` is used 7 years ago
Roman eb758f6f04
Fixes #15031: Fixed incorrect string type length detection for OCI DB schema 7 years ago
Brandon Kelly e6f5c46cdc Fixes #15633: Deprecate some things going away/changing in 2.1 7 years ago
SilverFire - Dmitry Naumenko 5bd6ed5684
Fixed issues in accidental merge of unfinished #15398 7 years ago
胡倍玮 a036fac490 Extract cache from `yii\db\Command` to `yii\db\CacheableQueryTrait` and use it in `yii\db\Query` 7 years ago
CedricYii ad128f1d86 Fixes #7640: oci/QueryBuilder wrong namespace 7 years ago
Dmitry Naumenko de1750228d Fixes #13879: Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command` 7 years ago
Zhukov Roman 40b038379f Fixes #13019: Support JSON in SchemaBuilderTrait 7 years ago
SilverFire - Dmitry Naumenko 786a733502
Moved ExpressionBuilder creation logic out of QueryBuilder::buildExpression() to a separate method 7 years ago
SilverFire - Dmitry Naumenko b139e865b7
Fixed PHPDocs. Resolves discussion d16586334d (commitcomment-27343531) 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 b979b2aa88
Fixes #15355: Additional test and fix 7 years ago
hiscaler 5483a2ef6c Fixes #15076: Perfect `yii\db\QueryBuilder` buildColumns function 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
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
hiscaler d32b80eec9
Fixes #15122: Fixed `yii\db\Command::getRawSql()` to properly replace expressions 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
Alexander Makarov c501e3fde8
Revert "Fixed QueryBuilder docs (#15427) [skip ci]" (#15431) 7 years ago
Alec Smythe 7d1310ace7 Fixed QueryBuilder docs (#15427) [skip ci] 7 years ago
Sergey Makinen a3a3d1dcef
Document callable params [skip ci] 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 7e8a4c8629
Minor adjustments 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