dd26d39dd8
Removed unused namespace imports
2014-02-07 13:26:00 +04: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
eb3c6866dd
Removed unused variable
2014-02-06 00:46:50 +04:00
4a9f47bedd
refactored sphinx and db AR to call parent implementation of populateRecord()
2014-02-03 14:12:03 +01:00
16e1aff41b
renamed ActiveRecord::create() to populateRecord()
...
- refactored elasticsearch AR to make type and index available in
instantiate(), issue #1313
fixes #2281
2014-02-03 14:07:12 +01:00
266aadd230
Only treat 32bit signed integers as integers so that 32bit clients won’t have trouble.
2014-02-02 17:18:03 -05:00
8001d2348c
refactored ActiveRecord::create().
2014-02-02 15:00:54 -05:00
a97f6387f9
added check column
2014-02-02 22:36:56 +04:00
0e0acb2731
added inherit doc block and task number
2014-02-02 20:22:56 +04:00
d017567273
override create
2014-02-01 22:31:13 +04:00
903f5618fe
Added typecast database types into php types
2014-02-01 12:57:40 +04:00
b21fd298c5
Fixed minor coding style issues
2014-02-01 01:18:38 +04:00
8e11629a65
Fixes #2160 : SphinxQL does not support OFFSET
...
Improved `QueryBuilder::buildLimit()` to support big numbers
2014-01-29 22:42:56 -05:00
8ecceb395f
Fixes #2210 : Mysql driver will now treat tinyint(1)
as integer instead of boolean
2014-01-29 13:54:17 -05: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
2be0fd6e13
more union fix.
2014-01-27 14:50:41 -05:00
d9a85d091a
Fixes #2175 : QueryBuilder will now append UNION statements at the end of the primary SQL
2014-01-27 14:36:23 -05:00
661fe24aab
Merge pull request #2137 from Ana1oliy/issue-1659
...
issue #1659 : released buildLimitOffset() for MSSQL
2014-01-25 13:27:42 -08:00
ee8c0404bf
minor code style and phpdoc fix
2014-01-25 14:07:07 +04:00
f6dd6fa2e9
Renamed ActiveRecordInterface::createActiveRelation()
to createRelation()
2014-01-24 14:46:53 -05:00
9c97fe11cb
issue #1659 : released buildLimitOffset() for MSSQL
2014-01-24 04:10:55 +08:00
a9286b899c
Update QueryBuilder.php
...
Change <code>array_reduce</code> with anonimous function variant to easy string collection from pieces of unions.
2014-01-23 18:24:54 +03:00
c9c59bdc26
Update Query.php
...
Using short array syntax.
2014-01-23 17:57:31 +03:00
7da3449d09
Update QueryBuilder.php
...
Change buildUnion method to be ready to accept parameters in <code>['all' => $all, 'query' => $query]</code> format for division to "UNION" and "UNION ALL" constructions.
2014-01-23 16:57:34 +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
5d3fd930d8
Update QueryBuilder.php
...
Delete some spaces from result string.
2014-01-23 09:05:41 +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
1ea895e22b
Update QueryBuilder.php
...
Fixed some errors – syntax with ";" after closure function and also moved building of unions queries into this function.
2014-01-23 08:45:29 +03:00
12cbaf90b5
Update QueryBuilder.php
...
Change using of implode to convert array of queries to union to array_reduce. Result of this changing is that code feel difference between two selects that connects with UNION and two selects that connects with UNION ALL.
2014-01-23 07:47:48 +03:00
4a837debb3
Merge branch 'master'
2014-01-22 03:06:43 +04:00
76705b4319
Merge branch 'master'
...
Conflicts:
tests/unit/data/ar/elasticsearch/Customer.php
2014-01-22 03:06:21 +04:00
5b3fa9f5ba
Fixes #2091 : QueryBuilder::buildInCondition()
fails to handle array not starting with index 0
2014-01-21 08:52:36 -05:00
13aa88bc5b
Fix for #2087
2014-01-21 09:28:41 -03:00
7d33a5d3b5
Some Code style fixes
2014-01-19 13:35:36 -03:00
3e9a074394
Merge pull request #2050 from yiisoft/feature-fixture
...
Feature fixture
2014-01-18 21:08:55 -08:00
f21d2ce757
Better phpdoc
2014-01-19 03:44:33 +04:00
87be9deaf0
refactored fixture.
2014-01-18 16:18:33 -05:00
d5cd6b0dfe
Update Migration.php
...
add ability to use an array in multi columns parameters
2014-01-18 17:12:20 +03:00
b119576041
Fixes #2016 : removed ability to declare scopes in ActiveRecord leaving it to ActiveQuery. Changed documentation accordingly.
2014-01-17 22:07:02 +04:00
eade9dd115
message fix.
2014-01-16 20:39:06 -05:00
9b723baa76
Added TableSchema::fullName
property
2014-01-16 15:51:14 -05:00
7e961eee85
fixed test break
2014-01-16 11:50:59 +01:00
829850da23
removed phpdoc about nonexisting param
2014-01-16 11:07:50 +01:00
796284cba1
reworked fix for #1993
2014-01-16 11:05:26 +01:00
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
2014-01-16 10:28:58 +01:00
5d23a066ca
Removed unused imports
2014-01-12 23:42:55 +04:00
349f2c9e32
phpdoc fixes, unused variable
2014-01-12 23:40:21 +04:00
c3829a4fd0
Removed debug code
2014-01-12 23:39:42 +04:00