30 Commits

Author SHA1 Message Date
1feb09b6ff refactored querybuilder test to reuse quote replacement
fixes #5652
2014-10-19 23:34:59 +02:00
5829020eff Fixes #5223: Query builder now supports selecting sub-queries as columns 2014-10-19 10:58:49 -04:00
292a9ff55b Add support for yii\db\Expression to QueryBuiler simple conditions
fixes #5601
2014-10-17 13:32:54 +02:00
0df9a82a7f updated documentation and tests
fixes #5331
2014-10-03 15:25:55 +02:00
b656137541 Added support for arbitrary operators to Query::filterWhere, added support for arbitrary operators to Sphinx extension 2014-08-01 21:11:24 +04:00
c1cf48cf5b Fixes #2315: Any operator now could be used with yii\db\Query::->where() operand format 2014-08-01 11:37:05 +04:00
c6201fb5ca fixed cubrid test case 2014-05-26 13:43:42 +02:00
d1a3d40014 added test case to acually create cols with virtual type
verify issue #3473
2014-05-26 11:53:06 +02:00
3411504508 Revert "Fixed test break."
This reverts commit 70b57766b1577f1927c63f5a181f02cf00281214.
2014-05-14 11:40:46 -04:00
70b57766b1 Fixed test break. 2014-05-14 11:29:48 -04:00
5c748ddb42 added case insensitve LIKE to PostgresQueryBuilder
fixes #3252

also improved unit tests for querybuilder buildLikeCondition
2014-04-29 12:04:10 +02:00
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00
9d986daf4f Update QueryBuilderTest.php
Comment test because it proceed an errors when tries to run at mssql and other DBMS.
2014-01-23 18:35:55 +03:00
dd79325a0a Update QueryBuilderTest.php
Add test for UNION/UNION ALL function.
It could be useful to use "phpunit --group=db --filter testBuildUnion" command for run it.
2014-01-23 17:03:32 +03:00
442393dac9 removed failing tests. 2014-01-11 10:44:39 -05:00
7d08a09620 Fixes #1809: Added support for building "EXISTS" and "NOT EXISTS" query conditions 2014-01-11 08:35:43 -05:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
544e412af8 unit test cleanup 2013-09-06 15:03:25 +02:00
825258efb8 cubrid unit tests WIP 2013-09-05 18:23:25 +02:00
6dba4da3ed Fixes #828: refactored QueryBuilder::build() 2013-08-29 16:47:48 -04:00
0596fa82fd code style fixes 2013-08-13 02:43:47 +04:00
f2e57b2eec Fixed test breaks. 2013-07-02 22:19:05 -04:00
1df859cfa1 typo: primarykey -> primaryKey 2013-06-10 23:17:41 +02:00
f667b5785b - Added drop/add primary key methods to Command.php
- Added drop/add primary key methods to QueryBuilder.php
- Added mysql specific dropPrimarykey method
- Added sqlite specific dropPrimarykey and addPrimaryKey methods
- Added uint testing for dropPrimarykey and addPrimaryKey methods
- Corrected postgresql column types, by adding length and precision
2013-06-09 18:27:09 +02:00
c28b0183a5 whitespace 2013-06-02 22:12:37 +02:00
5c56c0fc02 Better flexibility for abstract db types
Feature was requested in yiisoft/yii#765
2013-06-02 16:05:11 +02:00