214 Commits (ddee256a1adc7eb7b4232088ff7525c6ae57eed2)

Author SHA1 Message Date
Carsten Brandt 5ed6910e1c
Added support for cloning a db connection 7 years ago
Alexander Makarov 23cc4bf4fe
Further changes for unique and exist validators 7 years ago
Carsten Brandt fb2441c3d7
moved query log logic into private method and reduced calls to getRawSql() 7 years ago
Carsten Brandt 65ea226729
added option to disable query logging in DB command 7 years ago
Robert Korulczyk 31e321b9b2 Remove unused imports. (#14096) 8 years ago
SilverFire - Dmitry Naumenko 2d0e3fb9ef
Fixed Oracle SQL queries with `IN` condition and more than 1000 parameters 8 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
Alexander Makarov 37fc6c5afb
Alternative names 8 years ago
Alexander Makarov 7db93fc33d
Refactored solution to be contained within ActiveQuery instead of helper 8 years ago
Alexander Makarov 9bd7dfc89e Skipped segfaulting test when running on Travis and corresponding PHP versions 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 d8e6a89af9 fixed tests without assettions 8 years ago
Klimov Paul dee88787fc compatibility with PHPUnit 6.x added 8 years ago
usix298 13c2f5370f Fixed formatting in tests [skip ci] 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 a9fb0171f7 Fixes #13745: `SQLSTATE[HY093]: Invalid parameter number: parameter was not defined` in MSSQL and bug fixes in `yii\db\QueryBuilder::buildLikeCondition()` 8 years ago
Vladimir 55dd16f1f7 Fixes #12715: Exception `SAVEPOINT LEVEL1 does not exist` instead of deadlock exception 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
Alex 6db6a2ddbe Fixes #13418: Fixed `QueryBuilder::batchInsert()` if $rows is `\Generator` 8 years ago
Bob Olde Hampsink fab53b4a6e Fixes #13582: Added tests for all `yii\db\QueryBuilder::resetSequence` implementations, fixed SQLite implementation 8 years ago
Bob Olde Hampsink 56c65f6079 Fixes #13577: Implemented `yii\db\mssql\QueryBuilder::resetSequence()` 8 years ago
Nikolay Oleynikov 7d82bbcd37 Fixes #13467: `yii\data\ActiveDataProvider` no longer queries models if models count is zero 8 years ago
Nikolay Oleynikov 323568c2e9 Remove trailing spaces from sources and tests (#13621) [skip ci] 8 years ago
Sergey Makinen ef4dadf437 Fixes #13592: Fixes Oracle’s `yii\db\oci\Schema::setTransactionIsolationLevel()` 8 years ago
Boudewijn Vahrmeijer 45d670c995 Update ConnectionTest.php 8 years ago
Vovan-VE 3538bde085 Add test case for #13340 and update CHANGELOG 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
Alexander Makarov 1cc327f108
Run common batch insert tests for SQLite 8 years ago
Tobias Munk f5ab85c393 updated debug settings (+56 squashed commits) 8 years ago
João Pedro Pereira 3692941ead
Fixes #11464: Foreign key name is not provided by schema 8 years ago
Vladimir f3bc11c724 Implement #13219: Ability to not shuffle masters connections (#13241) 8 years ago
Klimov Paul 194577c55e Code style fix 8 years ago
p.chapl 5488fc6e28 fixes #13221 8 years ago
Pavel Chaplygin 25e6eb04a5 refs #11122: Fixed can not use `orderBy` with aggregate functions (#12772) 8 years ago
SilverFire - Dmitry Naumenko df733d1bbe
Fixed QueryBuilderTest 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
Brandon Kelly 350e93e626 Fixes #12612: Query conditions added with `yii\db\Query::andWhere()` now get appended to the existing conditions if they were already being joined with the `and` operator 8 years ago
Alexander Makarov b78d6367ba
Removed duplicate assertion from tests, divided test method into two 8 years ago
Alexander Makarov 837b33767c
Fixes #11697: Added `filterHaving()`, `andFilterHaving()` and `orFilterHaving()` to `yii\db\Query` 8 years ago
SilverFire - Dmitry Naumenko 88f2348ed5
Fixed `ActiveRecord::unlinkAll()` to respect `onCondition()` 8 years ago
Klimov Paul 50b668eee8 redundant code removed 8 years ago
Chris Harris ae83dd0524 Fixes #13128: Fixed incorrect position of {pos} string in ColumnSchemaBuilder `__toString` 8 years ago