114 Commits (f287b608aafaa97a41e5118f9eb7562f69da7425)

Author SHA1 Message Date
Razvan Grigore 062ebf5c0b Fix #17549: Fix `yii\db\ExpressionInterface` not supported in `yii\db\conditions\SimpleConditionBuilder` 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 6fc04a622e Fix #17219: Fixed quoting of table names with spaces in MSSQL 5 years ago
Alexander Kartavenko 869f475dc1 Fix #17413, fix #17418: Fixed MSSQL tests 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
Brandon Kelly 54b3d6d8ab Fixes #17344: Improved performance of `yii\db\Connection::addSelect()` 5 years ago
Pavel Ivanov b128ec85f4 Fixes #16081: Fixed composite IN using just one column 6 years ago
cuileon 489dd119a5 merge from yiisoft/yii2 6 years ago
Konstantin Voloshchuk 9f383ab228 Fixes #14367: In `yii\db\mysql\QueryBuilder` added support fractional seconds for time types for MySQL >= 5.6.4 6 years ago
Pavel Ivanov 839112a919 Issue #14834: skip 'TIMESTAMP' definition test when NO_ZERO_DATE enabled (#15987) 7 years ago
SilverFire - Dmitry Naumenko 0177d68476
Commit da06c4a1 reduced num of useless brackets in SQL. Fixing tests 7 years ago
SilverFire - Dmitry Naumenko da06c4a1e1
Fixed QueryBuilder::buildCondition() to skip empty array on input 7 years ago
SilverFire - Dmitry Naumenko 44ab0414b6
fixing tests 7 years ago
SilverFire - Dmitry Naumenko 898fbfc6f8
fixed tests 7 years ago
Robert Korulczyk df91a9608f Fixes #14638: Added `yii\db\SchemaBuilderTrait::tinyInteger()` 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
Dmitry Naumenko de1750228d Fixes #13879: Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command` 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
Alexander Makarov fb23b0d0ea
Code style fixes 7 years ago
Alexander Makarov 24efeb812c Added tests for Query Builder insert, update and delete (#14911) 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
Pavel Chaplygin e38310546e Fixes #14334: Fixed `\yii\db\QueryBuilder::buildNotCondition` loses params when operand is `\yii\db\Expression` 7 years ago
Sergey Makinen c8856ccd4e
Fix merging issues & CS 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Sergey Makinen 73ac13e6d7
Implement retrieving dbms constraints 7 years ago
Klimov Paul d8e6a89af9 fixed tests without assettions 8 years ago
Artur Fursa 1b322f519f Fixes #13776: Fixed setting precision and scale for decimal columns in MSSQL 8 years ago
Alexander Makarov 3f8e8a89eb Used more specific unit test assertions in framework tests 8 years ago
gagatust 6397791513 Fixed whitespaces to match code style [skip ci] 8 years ago
Sergey Makinen 9a915ba10c Fixes #8120: Fixes LIKE special characters escaping for Cubrid/MSSQL/Oracle/SQLite in `yii\db\QueryBuilder` 8 years ago
Bob Olde Hampsink fab53b4a6e Fixes #13582: Added tests for all `yii\db\QueryBuilder::resetSequence` implementations, fixed SQLite implementation 8 years ago
SilverFire - Dmitry Naumenko 2f8225a244
Fixed QueryBuilderTest to work with PgSQL and other DBMS 8 years ago
SilverFire - Dmitry Naumenko 54c7e0c434
Added tests for QueryBuilder::batchInsert() 8 years ago
Chris Harris ae83dd0524 Fixes #13128: Fixed incorrect position of {pos} string in ColumnSchemaBuilder `__toString` 8 years ago
Zlakomanov Alexander b8bf0d0c0c added hint into foreign keys query for oracle 11g optimisation 8 years ago
SilverFire - Dmitry Naumenko fb210b8839 Fixed typo in data type. Fixes #12599 8 years ago
SilverFire - Dmitry Naumenko 3861108553 Fixed casting of `binnary()` type for MSSQL. Closes #12599 8 years ago
Carsten Brandt ef0658726f Revert "Revert "fixed mysql defaul integer display width on unsigned pk"" 8 years ago
Carsten Brandt 144d78ebb4 Revert "fixed mysql defaul integer display width on unsigned pk" 8 years ago
Carsten Brandt 85d89e4893 fixed mysql defaul integer display width on unsigned pk 8 years ago
Robert Korulczyk 099b364b14 Fixed #9574: Implicit run ColumnSchemaBuilder::null() when default value is set to null. (#11813) 8 years ago
Carsten Brandt 4e3c9e4a98 fixed scalar value for IN condition 8 years ago
cuiliang c0df003ac0 merge from master 8 years ago
Alexander Makarov 7cea46bcb4 Changed SQLite fix #11652 according to https://github.com/yiisoft/yii2/pull/11653#issuecomment-224016289 8 years ago