56 Commits (e63a459a18924bc1672c473c1bbeadfc1b502879)

Author SHA1 Message Date
SilverFire - Dmitry Naumenko 78aaca7a87
Fixed CommandTest::testBindValuesSupportsDeprecatedPDOCastingFormat() 7 years ago
SilverFire - Dmitry Naumenko 233eeb52d7
fixed unit tests 7 years ago
SilverFire - Dmitry Naumenko 9a949525a1
Fixed deprecated type casting format in Command::bindValues() 7 years ago
SilverFire - Dmitry Naumenko e806a3b50a
Added `yii\db\ExpressionInterface` support to `yii\db\Command::batchInsert()` 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
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
Vladimir Reznichenko 67f67e3a69 SCA with Php Inspections (EA Extended) (#15571) 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
Sergey Makinen cc2e28bd0e
Add transaction/retry support for yii\db\Command 7 years ago
Gabriel Caruso 2992b9b09d Refactored tests with PHPUnit assert methods (#15260) 7 years ago
Alexander Makarov fb23b0d0ea
Code style fixes 7 years ago
Dmitry Naumenko 7e7faeebd1 Fixed excess escaping in Command::batchInsert() (#13236) 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 0c0942d6e2 Enable `phpdoc_add_missing_param_annotation` rule in php-cs-fixer config. (#14681) [skip ci] 7 years ago
Robert Korulczyk b99e955627 Fix CS (#14665) 7 years ago
Carsten Brandt 3dbc07f8dd
fix test to work around PDO bug 7 years ago
Alexander Makarov 7cac7f131d
Set back original locale in #14448 test 7 years ago
Carsten Brandt cda3089623 Fixed batchInsert casting of double values according to locale (#14448) 7 years ago
Robert Korulczyk 12eb936083 Enable `heredoc_to_nowdoc` rule in php-cs-fixer (#14419) 7 years ago
Carsten Brandt f212bc6caf ensure tablenames are not replaced in insert and update 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Sergey Makinen 52f8539135
Add Command tests 7 years ago
Sergey Makinen 73ac13e6d7
Implement retrieving dbms constraints 7 years ago
brandonkelly 3456c4e0fd !== 8 years ago
brandonkelly 11c0d4bf15 Skip just certain things for sqllite 8 years ago
brandonkelly 237af91e8e Skip testAutoRefreshTableSchema on sqllite 8 years ago
brandonkelly e242e9b0ee Fixes #14072: clear table schema cache for all methods that affect cache 8 years ago
Sergey Makinen 454f0a9301 Fixes #13807: Fixed `yii\db\QueryBuilder` to inherit subquery params when building a `INSERT INTO ... SELECT` query 8 years ago
Klimov Paul dee88787fc compatibility with PHPUnit 6.x added 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
Alex 6db6a2ddbe Fixes #13418: Fixed `QueryBuilder::batchInsert()` if $rows is `\Generator` 8 years ago
Nikolay Oleynikov 323568c2e9 Remove trailing spaces from sources and tests (#13621) [skip ci] 8 years ago
PowerGamer1 37b8cbb2d0
Fixes #12758: Added the ability to use instances of `\yii\db\Query` class as values in the `\yii\db\QueryBuilder::insert()` method 8 years ago
Alexander Makarov c4175be7a3
Adjusted command test for incorrect inserts to use data provider 8 years ago
voroks 25f08afc96
Fixes #8293: `yii\db\Query` can be passed to `insert` method in `yii\db\QueryBuilder` 8 years ago
Walt Sorensen f76f0cff6c Test against the current hhvm version (#12971) 8 years ago
Robert Korulczyk 104712103b Fixes #11693: Handle QueryBuilder::batchInsert() calls with no data to insert. (#11812) 8 years ago
Carsten Brandt 8ba032d147 refactored database tests 8 years ago
Alexander Makarov c36e679519 MSSQL doesn't have SUBSTR and isn't able to use expressions in ORDER BY and GROUP BY 9 years ago
Carsten Brandt 5a462dc5d2 added tests and documentation for #8824 9 years ago
Alexander Makarov 615a29f04e More fixes for MSSQL tests 9 years ago
Edgard Lorraine Messias 7c9b7c77a7 Added tests for dropTable, truncateTable and renameTable 9 years ago
SilverFire - Dmitry Naumenko 58119c5b11 Fixed testCreateTable, testAlterTable now quotes table name 9 years ago
Alexander Makarov 310f9152e1 Fixes #9268: Improved display of boolean parameters in logged SQL queries 9 years ago
Carsten Brandt 879911810f added test for createTable and alterTable 9 years ago
Klimov Paul 72f9e63e10 Table schema auto refreshing on DDL added to `yii\db\Command` 9 years ago