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`"
...
This reverts commit e342162425
.
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
vinpel
f165b6b31f
Fix #17679 : Fix Oracle exception "ORA-01461: can bind a LONG value only for insert into a LONG column" when inserting 4k+ string
5 years ago
simialbi
79e68767db
Fix #11945 : Fix Schema Builder MySQL column definition order
5 years ago
Bizley
b79fe7d106
Fix #17744 : Fix a bug with setting incorrect `defaultValue` to AR column with `CURRENT_TIMESTAMP(x)` as default expression (MySQL >= 5.6.4)
5 years ago
Dmitriy Derepko
bc180ac20d
Fix #17745 : Fix PostgreSQL query builder drops default value when it is empty
5 years ago
Hubert Strychalski
817c264181
Fix #17661 : Fix query builder incorrect IN/NOT IN condition handling for null values
5 years ago
Brandon Kelly
88f08005ab
Fix #17687 : `Query::indexBy` can now include a table alias
5 years ago
Evgeny
09eacd8dc1
Bug #17597 : PostgreSQL 12 and partitioned tables support (batyrmastyr)
...
* yiisoft#17597, pg_constraint.consrc removed in Postgres 12
* yiisoft#17597, load schema for partitioned tables (introduced in Postgres 10)
* messed up with issue number
* #yiisoft#17597 Postgres 12 support, support GENERATED AS IDENTITY columns
* uncleared FileCache leads to falsy failures on subsequent test runs
* moved .sql for postgres 10 and 12 to separate files, added ResetSequence test for GENERATED AS IDENTITY column
5 years ago
Alexander Kartavenko
97499315a4
Fix #17539 : Fixed error when using `batch()` with `indexBy()` with MSSQL
5 years ago
Razvan Grigore
062ebf5c0b
Fix #17549 : Fix `yii\db\ExpressionInterface` not supported in `yii\db\conditions\SimpleConditionBuilder`
5 years ago
Manu311
cc5bb71f75
Fix #17449 : Ensure `CHECK` statement goes after `COMMENT` in MySQL `QueryBuilder::addCommentOnColumn()`
5 years ago
Alexander Kartavenko
cdd40b8dfb
Fix #17504 : Fix upsert when `$updateColumns = true` but there are no columns to update in the table
5 years ago
Alexander Kartavenko
69cf9de56b
Fix #17473 : Fixed `SimpleConditionBuilder::build()` when column is not a string
5 years ago
Alexander Kartavenko
4b768a86f5
Fix #17486 : Fixed error when using `batch()` without `$db` parameter with MSSQL
5 years ago
Sidney Lins
9988efc04f
Fix #16796 : Fixed addition and removal of table and column comments in MSSQL
5 years ago
Alexander Kartavenko
6fc04a622e
Fix #17219 : Fixed quoting of table names with spaces in MSSQL
5 years ago
Alexander Kartavenko
259c496e2e
Fix #10020 : Fixed quoting of column names with dots in MSSQL
5 years ago
Alexander Kartavenko
a9097dbac3
Fix #17435 : Fixed `i18n_init` migration for MSSQL
5 years ago
Alexander Kartavenko
25cf331839
Closes #10023 . Fix MSSQL "There are no more rows" exception when using `each()` and `batch()`
5 years ago
Alexander Kartavenko
136705c92b
MSSQL: fix tests ( #17431 )
5 years ago
Alexander Kartavenko
d98f4e69b5
Fix MSSQL tests ( #17426 )
5 years ago
Alexander Kartavenko
869f475dc1
Fix #17413 , fix #17418 : Fixed MSSQL tests
5 years ago
Alexander Kartavenko
9f2a87363e
Fixes #17420 : Fixed loading of column default values for MSSQL
5 years ago
Alexander Kartavenko
55b06d2364
Fix #17413 : Fixed MSSQL tests: `QueryBuilderTest::testGetColumnType()`, `QueryBuilderTest::testResetSequence()`
5 years ago
Alexander Kartavenko
56f639358c
Add MSSQL tests ( #17410 )
5 years ago
Alexander Kartavenko
eb65dba796
Fixes #17057 : Fixed issues with table names that contain special characters or keywords in MSSQL
5 years ago
Brandon Kelly
f2212a3183
Fix #17384 : Fixed SQL error when passing `DISTINCT ON` queries
5 years ago
Sidney Lins
fe3ebe2e56
Fixes #17356 : MSSQL Schema was not detecting string field size
5 years ago
Brandon Kelly
54b3d6d8ab
Fixes #17344 : Improved performance of `yii\db\Connection::addSelect()`
5 years ago
Bizley
56215d58e1
Fixes #12077 , #12135 , #17263 : Fixed PostgreSQL version of `alterColumn()` to accept properly `ColumnSchemaBuilder` definition of column
5 years ago
Albert Borsos
d2c2f63686
Fixes #17127 : `yii\db\ActiveRecord::findOne()` now accepts table aliases
6 years ago
Dmytro Naumenko
adf8f9a32f
Fixes #15931 : `yii\db\ActiveRecord::findOne()` now accepts quoted table and column names using curly and square braces respectively
6 years ago
SilverFire - Dmitry Naumenko
b9ee17014e
Removed wrong test addded in dfcf037c7
6 years ago
SilverFire - Dmitry Naumenko
dfcf037c76
ActiveQuery::viaTable() now throws exception on wrongly prepared query
...
Closes #15876
6 years ago