61 Commits (4e4fb02264efca68ec72a2e543d0ceb1bcaff02c)

Author SHA1 Message Date
SilverFire - Dmitry Naumenko 4e4fb02264 Fixed QueryBuilterTest for PgSQL 9 years ago
Carsten Brandt b9880f3247 added test for custom index hints in FROM and JOIN 9 years ago
Sam Mousa af5f5d0e3e Fixes #9851: Fixed partial commit / rollback in nested transactions 9 years ago
Carsten Brandt ce35739469 joinWith implementation cleanup 9 years ago
Carsten Brandt 3f8df39f45 more tests for joinWith alias 9 years ago
Carsten Brandt 94571e2c23 improved tests for ActiveQuery::joinWith alias 9 years ago
Carsten Brandt 5f19e7aa41 Added Alias Syntax for joinWith() 9 years ago
Carsten Brandt 157d6c79cc fixes #4972 by adding and `alias()` to `ActiveQuery` 9 years ago
nainoon 076329bfba add test for join with alias 9 years ago
Alexander Makarov 12761bf677 MSSQL does not support explicit value for an IDENTITY column #9773 9 years ago
Alexander Makarov e6f1179b62 Fixed MSSQL expected test result: we're adding ORDER BY (SELECT NULL) to limit and order queries and query params are empty array by default 9 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 4c6ecbe79c fixed wrong assertation in test 9 years ago
Carsten Brandt 261b3fd39b added a test for QueryBuilder PK 9 years ago
Carsten Brandt f0a62cdbd3 allow expressions in GROUP BY 9 years ago
Carsten Brandt 5a462dc5d2 added tests and documentation for #8824 9 years ago
Andrew Nester 61df727eaf Expression objects for orderBy should be handled in QueryBuilder 9 years ago
Alexander Makarov 5cecb09c1b Fixes #9443: Added `unsigned()` to `ColumnSchemaBuilder` 9 years ago
Alexander Makarov 615a29f04e More fixes for MSSQL tests 9 years ago
Klimov Paul bea90e1228 Fixed `yii\db\Query::where()` does not add params from directly passed `yii\db\Expression` 9 years ago
Alexander Makarov 8765cae71c Reverted #9656 because of BC break (reverted from commit 4a464afe9b) 9 years ago
Edgard Lorraine Messias 7c9b7c77a7 Added tests for dropTable, truncateTable and renameTable 9 years ago
Sam Mousa 4a464afe9b Fixes #9656: `yii\db\BaseActiveRecord` refactored in order to getting, setting and unsetring attribute values using the same approach 9 years ago
SilverFire - Dmitry Naumenko 58119c5b11 Fixed testCreateTable, testAlterTable now quotes table name 9 years ago
Carsten Brandt 6acb76606c fixed connection serialization test 9 years ago
Sam Mousa 603a956b8d Implemented __sleep in yii\db\Connection 9 years ago
romeOz 9ed8b80493 Added tests for #9790 9 years ago
Edgard Lorraine Messias 2d8106a39c Fixed testCreateTable and testAlterTable in CommandTest for MSSQL and OCI 9 years ago
Carsten Brandt decd45201c allow passing a single Expression object to select() and addSelect() 9 years ago
Carsten Brandt 3826b6f4a3 added test for #9869 9 years ago
Carsten Brandt 989699614f fixed test break 9 years ago
Carsten Brandt 4e7adc13ea adjusted docs about Query::from() and subqueries 9 years ago
AIZAWA, Hina 0f2a77ed36 Fixes #9442: Fixed `yii\db\Migration::renameTable()` caused fatal error when using SQLite driver 9 years ago
Nikola Kovacs 316e95b81d Remove length from SchemaBuilderTrait::text. 9 years ago
Carsten Brandt 56902298b4 fixed wrong expectation in QueryBuilder test 9 years ago
Carsten Brandt 0d778d0570 adjusted querybuilder tests to match implementation 9 years ago
Carsten Brandt 681db52ba6 refactored SchemaBuilder 9 years ago
Carsten Brandt 7150e830d9 do not use reserved php words as function in schemabuilder 9 years ago
Alexander Makarov 310f9152e1 Fixes #9268: Improved display of boolean parameters in logged SQL queries 9 years ago
Alexander Makarov 357bce51bb Tests for #9006 9 years ago
Alexander Makarov 8e1d982da4 Cleanup, added ->unique(), changelog 9 years ago
Matvey Vasenin da941a7675 Improved `SchemaBuilder` implementation 9 years ago
Matvey Vasenin b456f699cc Implemented `SchemaBuilder` 9 years ago
Carsten Brandt 2872365000 added test case for #8918 9 years ago
Carsten Brandt 0858d0a834 added test for querybuilder select 9 years ago
Carsten Brandt d0c6cb7700 abort removing duplicate records when pk is not in result set 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 fb0062114e Method `yii\db\Schema::refreshTableSchema()` added 9 years ago
Klimov Paul 0d48f1041e Fixed `yii\db\Command::getRawSql()` unable to parse params specified without colon (':') 9 years ago