97 Commits (898fbfc6f8d71e4ef05bd1aa61b9155a3463150d)

Author SHA1 Message Date
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
Matvey Vasenin 3cc8c09898 some test case added 9 years ago
Matvey Vasenin ce6e92b736 add comment control methods 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
Alexander Makarov 5870a74672 Added Schema::DOUBLE to represent ANSI SQL Double Precision 10 years ago
Jan Waś 1e5f159f78 override only mssql and sqlite QueryBuilder; throw an exception for composite in condition with a subquery 10 years ago
Jan Waś f58d096920 fixes #6792, use a simpler composite in condition implementation on dbs other than pgsql 10 years ago
Carsten Brandt cc8ffe364e added support for yii\db\Expression to querybuilder BETWEEN and LIKE 10 years ago
Carsten Brandt 1feb09b6ff refactored querybuilder test to reuse quote replacement 10 years ago
Qiang Xue 5829020eff Fixes #5223: Query builder now supports selecting sub-queries as columns 10 years ago
Carsten Brandt 292a9ff55b Add support for yii\db\Expression to QueryBuiler simple conditions 10 years ago