147 Commits (3861108553d85f7f7fe0f6a28de92647d1b36b83)

Author SHA1 Message Date
SilverFire - Dmitry Naumenko 7229b3aa7d QueryBuilder::buildAndCondition() - added Expression value extraction 9 years ago
CedricYii 2bd14098f9 Fix Expression parameter binding in 'And' clause 9 years ago
Chris Harris c955ccfd47 Fixes primary key columns being added to table creation test 9 years ago
Chris Harris 2f91889b70 Removed `unsignedPrimaryKey()` schema builder type; now, the `unsigned()` modifier works with primary key types e.g. `pk()->unsigned()` or `bigpk()->unsigned()`. 9 years ago
Chris Harris b697e173fc Fixed `unsigned()` modifier to enable use with PKs. 9 years ago
Chris Harris 91018f6c38 Corrected MSSQL driver name. Fixed array addition to not overwrite matching keys. 9 years ago
Chris Harris 553cca642c Reverted `unsigned()` pk modifier 9 years ago
Chris Harris f7d23f662d Made base `QueryBuilderTest` abstract to exclude it from tests. Added upgrade notes. 9 years ago
Chris Harris 030ee68b01 Testing `unsigned()` modifier on PKs (now `$this->primaryKey()->unsigned()` works) 9 years ago
Chris Harris 732a51b551 All common column definitions and expected outputs now in `QueryBuilderTest::columnTypes()`. `DbmsSpecificQueryBuilderTest::columnTypes()` adds DBMS specific column definitions. 9 years ago
Chris Harris 4531b981f4 Items with text only in col 3 will be ignored 9 years ago
Chris Harris 8eb746d1f1 Testing multi-DBMS capable column schema test data array 9 years ago
Carsten Brandt 5880968d45 added unit test for #10946 9 years ago
Chris Harris 0ca5a1a86a Fixed test 9 years ago
Chris Harris a997603ab6 More Postgres tests 9 years ago
Chris Harris f709246cac Fixed test data 9 years ago
Chris Harris cbcdf11836 Formatting 9 years ago
Chris Harris 0a336df6ba Check return value of strncmp. Corrected SQLite expected schema test data. 9 years ago
Chris Harris f500354040 Remove _all_ variants of primary key columns from `testCreateTableColumnTypes()` test 9 years ago
Chris Harris 0f0964be90 Correct builder type in test data 9 years ago
Chris Harris 13823834e2 Start of new tests 9 years ago
Chris Harris db5399b124 Added `$expectedColumnSchemaBuilder` back to test data 9 years ago
Chris Harris e0e82bc56b `ColumnSchemaBuilder::__toString()` should match `$expected` 9 years ago
Chris Harris 3761682edf Upgraded some tests. Fixed MySQL test fixtures to create all tables with InnoDB. 9 years ago
Chris Harris 81ff4752d9 Added CHECK modifier to PK schema pattern. Modified UNSIGNED tests to not include modifier by default (i.e. only present when testing DBMSes that support it). 9 years ago
Chris Harris eaeb926768 Adds `char` datatype to framework 9 years ago
Carsten Brandt 187c314d01 better fix for test break b9880f3247 9 years ago
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