13c0931b23
Fixes #2880
2014-03-27 10:58:56 -04:00
bf3c75147d
reverted breaking PHPdoc codestyle changes
...
issue #2852
2014-03-23 20:51:09 +01:00
411dc71b09
Fixed getting the count for queries with the union
2014-03-22 13:48:09 +04:00
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06:00
c7e8d8b900
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
2014-03-03 20:50:44 +03:00
0e2b2fcbe6
Fix for logic Query::queryScalar uses to check for SELECT DISTINCT
2014-02-27 16:59:47 -08:00
a3e128bb0b
Query::queryScalar wasn't making SELECT DISTINCT queries subqueries
2014-02-27 16:04:16 -08:00
d3d832a3bf
phpdoc fixes
2014-02-25 12:51:08 +01:00
fb3b2f2c7d
Fixes #2490 : yii\db\Query::count() and other query scalar methods now properly handle queries with GROUP BY clause
2014-02-19 08:38:43 -05:00
9a068f50f4
Refactored batch query.
2014-02-15 11:22:48 -05:00
3a930bd675
Finished batch query feature.
2014-02-14 18:13:42 -05:00
1571c72251
Fixes #2409 : Added support for fetching data from database in batches
2014-02-14 16:45:46 -05:00
f59598bb8b
Added support for building SQLs with sub-queries
2014-02-11 23:23:02 -05:00
1f42b72baa
Fixes #2346 : ActiveQuery used in building sub-query should not need to set FROM clause explicitly.
2014-02-06 10:39:27 -05:00
c9c59bdc26
Update Query.php
...
Using short array syntax.
2014-01-23 17:57:31 +03:00
5f3d601b36
Update Query.php
...
Change passing parameters to array with two elements – 'all' which means if we use UNION or UNION ALL construction and 'query' which is our sql query that will be at right of construction.
2014-01-23 16:53:04 +03:00
8109708b37
Update Query.php
...
Forget one ";" :D
2014-01-23 09:08:59 +03:00
01c89ea3da
Update Query.php
...
Change union method to accept also <code>$all</code> variable. TRUE means that we must results <code>UNION ALL</code> construction, FALSE – that <code>UNION</code>.
2014-01-23 08:51:15 +03:00
febce76397
fixed build break and fixed doc about exists/not exists.
2014-01-11 10:17:14 -05:00
0c38655217
psr-4 move
2014-01-10 21:41:43 -05:00
0d814fa523
Moved "framework" to "iii".
2013-05-09 12:00:15 -04:00
48d04fbb8c
!== array() => !empty()
2013-05-07 19:57:27 +04:00
03cd47aed9
phpdoc typos
2013-05-05 01:26:40 +04:00
06feccff8b
refactored query builder.
...
finished Sort.
2013-03-06 10:51:33 -05:00
4fdaab3560
updated file header.
2013-03-04 08:03:46 -05:00
8b2b7915b4
Renamed application to app.
2013-02-05 16:12:22 -05:00
9958a5802e
DB cleanup
2013-01-17 12:54:13 -05:00
8e05e6e62d
changed copyright line.
2013-01-07 11:34:52 -05:00
2188ece107
refactoring DB
2013-01-05 21:20:13 -05:00
8517ee9e50
reorganized DB classes.
2013-01-05 16:46:53 -05:00