25 Commits

Author SHA1 Message Date
5a462dc5d2 added tests and documentation for #8824 2016-01-27 16:26:43 +01:00
61df727eaf Expression objects for orderBy should be handled in QueryBuilder
fixes #10535
close #10637

- Added test to prove orderBy accepts \yii\db\Expression
2016-01-23 09:27:54 +01:00
cd87d67f34 Global DOCS update: ~~~ replaced with ``` 2015-12-02 23:15:28 +02:00
67658cf57d Replaced static with $this in phpdoc since current IDEs are finally able to handle it correctly 2015-05-31 13:39:30 +03:00
9df21d46f3 reverted addition of $where property 2014-09-24 13:39:03 +02:00
222f9ddfad added missing documentation about the NOT operator in Query
fixes #5147
2014-09-24 12:53:33 +02:00
47ee0b87d4 Removed unnecessary code 2014-08-01 21:18:48 +04: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
0edd8bc65a Fixed missing and incorrect phpdoc 2014-07-25 17:26:35 +04:00
2f4a09ef53 phpdoc 2014-06-25 19:33:29 +02:00
6f7be5ee5c filterWhere for postgres ILIKE
fixes #3252
2014-04-29 13:22:31 +02:00
322e9e2385 Fix BETWEEN and NOT BETWEEN conditions.
```
PHP Notice – yii\base\ErrorException

Undefined offset: 3

in .../yiisoft/yii2/db/QueryTrait.php at line 269
```
2014-04-17 21:42:11 +06:00
0fa19291f1 refactored filterWhere(). 2014-04-02 20:03:42 -04:00
869d96ee0d Fixed test break. 2014-04-02 15:25:08 -04:00
745c20538c Merge pull request #2885 branch 'query-filter'
* query-filter:
  added CHANGELOG lines
  added tests for redis
  added proper tests for elasticsearch
  removed unnecessary code duplication
  adjusted tests
  typo
  renamed Query::filter() to Query::filterWhere()
  reverted elasticsearch rename of filter
  Adjusted search model code generated by Gii CRUD generator
  Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
  Gii CRUD generator now uses new addFilter method
  Query::filter() adjustments
  fixes #2002
  Added tests for Query::filter()

Conflicts:
	framework/db/QueryTrait.php
2014-04-02 19:33:40 +02:00
e9e59483f4 removed unnecessary code duplication 2014-04-02 19:07:13 +02:00
96f1c4c10b renamed Query::filter() to Query::filterWhere() 2014-04-02 18:48:14 +02:00
a35ef1ce7a added andOnCondition and orOnCondition to ActiveQuery
fixes #2957
2014-04-02 16:17:50 +02:00
8cd247730a Query::filter() adjustments 2014-03-29 23:26:02 +04:00
3c1a8141fd fixes #2002 2014-03-27 12:41:16 +04:00
bf3c75147d reverted breaking PHPdoc codestyle changes
issue #2852
2014-03-23 20:51:09 +01:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
262189533a huge amount of documentation link fixes 2014-01-28 17:54:40 +01:00
e27c3872ed doc improvements 2014-01-28 15:17:11 +01:00
0c38655217 psr-4 move 2014-01-10 21:41:43 -05:00