45 Commits (d32b80eec9583f5760c1294f34fd0db32bd403f0)

Author SHA1 Message Date
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
Klimov Paul 0d48f1041e Fixed `yii\db\Command::getRawSql()` unable to parse params specified without colon (':') 9 years ago
Carsten Brandt aa5887fec7 added missing use statement to fix #8572 9 years ago
John Was 94acb2e126 add unit tests to check lastInsertId 9 years ago
Alexander Makarov 6949992246 Simplified tests directory structure a bit 10 years ago
John Was 4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER 10 years ago
Alexander Mohorev bb8550886e PHP type casting 10 years ago
Carsten Brandt cc1247f399 fixed HHVM test break 10 years ago
Qiang Xue a3e2b94adf Fixes #3611: Refactored query caching. 10 years ago
Carsten Brandt df6a9a08fe fixed typo 10 years ago
Carsten Brandt d4738b03a5 fixed test break 10 years ago
Carsten Brandt cd5bdd90d2 fixed postgres tests 10 years ago