50 Commits (7bdc0787ac80d56730b4ffda1da39237d29db509)

Author SHA1 Message Date
Chris Harris 2fe6cee8bf Added SQLite bigpk test. Moved schema builder patterns spreadsheet to docs/internals folder. 9 years ago
Chris Harris 0b2db6f18a Fixing tests 9 years ago
Chris Harris 7bfcd0c427 Fixing tests 9 years ago
Chris Harris d8d10229c6 Fixing tests 9 years ago
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
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 eaeb926768 Adds `char` datatype to framework 9 years ago
Carsten Brandt 187c314d01 better fix for test break b9880f3247 9 years ago
Carsten Brandt b9880f3247 added test for custom index hints in FROM and JOIN 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 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
Carsten Brandt decd45201c allow passing a single Expression object to select() and addSelect() 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
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 8e1d982da4 Cleanup, added ->unique(), changelog 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
John Was 01345874a3 add working QueryBuilder test for Oracle 9 years ago
Alexander Makarov 6949992246 Simplified tests directory structure a bit 10 years ago
Carsten Brandt 5306cac4b9 added support for subqueries to simple conditions 10 years ago