446 Commits (master)

Author SHA1 Message Date
ntesic 730f0e56b5
Fix #18821: Allow `yii\db\ExpressionInterface` as column in `yii\db\conditions\InBuilder` 3 years ago
Long TRAN 6a36fa82c7
Fix #19047, fix #19118: Fix deprecated preg_match() passing null parameters #2 in db\mysql\Schema.php 3 years ago
stevekr 67ea4cf968
Fix #19148: Fix undefined array key errors in `yii\db\ActiveRelationTrait` 3 years ago
Alexey Rogachev 4a8c72f0c4
Normalize todos (#19045) 3 years ago
Anton c8d027f649
Fix #18993: Load defaults by `attributes()` in `yii\db\ActiveRecord::loadDefaultValues()` 3 years ago
egorrishe 17742cb146
don't convert int to string if db type of column is numeric (#18741) 3 years ago
egorrishe 87849c640f
Fix #18737: Fix SchemaTest::testColumnSchema() for MySql <5.7 3 years ago
Bizley 7966fe47e6
Scrutinizer fixes (#18685) 3 years ago
DarkDef 4fba562cd0 New attemp 3 years ago
DarkDef 9367af4b15 Fix for issue #18604 3 years ago
Sartor 335385d7ba Db pgsql getRawSql params replace fix 4 years ago
Dmytro Naumenko 10bb71a822
Fix #17203: Fix `yii\db\Connection` to persist customized `queryBuilder` configuration after the `close()` → `open()` cycle 4 years ago
theonedemon 42e8aa4ea5
Fix #18325: Fix `yii\db\pgsql\Schema` to respect non-default PgSQL schema name for data types 4 years ago
DarkDef 64ecbf10b1 Fix for issue #18526 4 years ago
Bizley 54f25c4b04
Fix #17174: Fix `yii\db\BaseActiveRecord::unlink()` to not ignore `on` conditions in `via` relations 4 years ago
Bizley 6dad27d4a1
Reversed #18499 (#18546) 4 years ago
Alexander Makarov 50831e6f08
Travis leftovers cleanup 4 years ago
Bizley 14f1138441
Correct #18499 4 years ago
Ondřej Vašíček d1037db68d
Fix #18499: When using `yii\db\Query::all()` and `yii\db\Query::$indexBy`, the `yii\db\Query::$indexBy` is auto inserted into `yii\db\Query::$select` - the same as in `yii\db\Query::column()` 4 years ago
Valerii Gorbachev ad6daecdfe
Add test for issue #14663 4 years ago
Valerii Gorbachev 9883b78214
Fix #18448: Fix issues in queries and tests for older MSSQL versions 4 years ago
Valerii Gorbachev 0571e806b9
Fix #18447: Do not use `getLastInsertID` to get PK from insert query to lower collision probability for concurrent inserts 4 years ago
Bizley ff0fd9a9ea
Fix #16492: Fix eager loading Active Record relations when relation key is a subject to a type-casting behavior 4 years ago
Valerii Gorbachev 7c7c7148f6
Fix #18287: Fix the OUTPUT got SQL syntax error if the column name is MSSQL keyword e.g key 4 years ago
Brandon Kelly cafe8e315c
Fix #18406: Fix PDO exception when committing or rolling back an autocommitted transaction in PHP 8 4 years ago
Wilmer Arambula 8784331022
Fix #18385: Add ci-oracle and fix tests 4 years ago
Alexander Makarov ed1c087784
Fix #18317: Additional PHP 8 compatibility fixes 4 years ago
DarkDef 7a50da5cf8
Fix #18287: Fix for OUTPUT INSERTED and computed columns. Added flag to computed values in table schema 4 years ago
Bizley 9790ea3a35
Add tests to ensure ActiveQuery is using DB connection set by model (#18286) 4 years ago
Wilmer Arambula e5e80ac5ec
Fix testGetColumType for PostgreSQL (#18279) 4 years ago
Wilmer Arambula 5558ee793b
Fix #18040, fix #15265, fix #18232 database issues (#18225) 4 years ago
DarkDef 4b2af4d2a4
Bug #13973: Correct alterColumn for MSSQL & drop constraints before drop column 4 years ago
Maxim Hodyrev 09dc9b70f8
Fix #18066: Fixed `yii\db\Query::create()` wasn't using all info from `withQuery()` 4 years ago
DarkDef a624c31698
Fix #18198: Fix saving tables with trigger by outputting inserted data from insert query with usage of temporary table 4 years ago
Alexander Makarov 54be5503c9
#18134: Use better string name in a test 4 years ago
DarkDef 1faa45c552
Fix #18134: Expression as columnName should not be quoted in likeCondition 4 years ago
Alexander Makarov 7ca23a2413
Revert "Fix #18134: Instance of `ExpressionInterface` will not be quoted in `Connection:quoteColumnName`" 4 years ago
DarkDef e342162425
Fix #18134: Instance of `ExpressionInterface` will not be quoted in `Connection:quoteColumnName` 4 years ago
Alexander Makarov 385fe13d66
Revert #18102 since renaming is technically problematic (#18109) 4 years ago
Brandon Kelly eb956e9c6b
primary/replica in a definitely non-breaking way (#18106) 4 years ago
DarkDef d317e41b21
Fix #18101: Fix behavior of OUTPUT INSERTED.* for SQL Server query: "insert default values"; correct MSSQL unit tests; turn off profiling echo message in migration test 4 years ago
Brandon Kelly 472600ee3f
Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 4 years ago
Evgenii Goryaev 1b07c0d4fb
Fix #18001: Fix getting table metadata for tables `(` in their name 4 years ago
Alex 37fc929285
Fix #18010: Allow upper or lower case operators in `InCondition` and `LikeCondition` 4 years ago
Kwok 89ded8c82a
Fix #18000: PK value of Oracle ActiveRecord is missing after save 4 years ago
Sartor a66fac3bb1
Fix #17758: `Query::withQuery()` can be used for CTE 5 years ago
Bizley 0643ef312d Corrected tests 5 years ago
Alexander Makarov 438cc80fc7
Fix #17667: Fix `CREATE INDEX` failure on sqlite when specifying schema 5 years ago
Alex 50b19dbfba
Fix #17920: Fix for `Command::getRawSql` and `Expression` in params 5 years ago
Ivan Hermanov b7d8730044
Fix #16092: Fix duplicate joins in usage of `joinWith` 5 years ago