Carsten Brandt
d3d832a3bf
phpdoc fixes
11 years ago
Jacob Morrison
614bffb01a
Fixed issue with preventing from clearing events and behaviors on clone
11 years ago
Carsten Brandt
f9024dbec1
fixed Migration::execute() to use params correctly
11 years ago
Qiang Xue
3aa15b709f
CS fix.
11 years ago
Qiang Xue
ba2c35b894
Fixes #2482 .
11 years ago
Scott Tester
7ce4702426
Allow null values for fields in batchInsert
11 years ago
Carsten Brandt
26717e3e76
allow referencing the guide from API docs
11 years ago
Carsten Brandt
505762d49c
updated docs about active relation
11 years ago
Carsten Brandt
8f491f2836
moved `@include` tags of api docs directly into the class
11 years ago
Carsten Brandt
cb8237c1b7
merged ActiveQueryInterface and ActiveRelatioInterface
11 years ago
Carsten Brandt
098567ce16
fixed phpdoc errors and updated properties
11 years ago
Carsten Brandt
3b40d44909
made createQuery() config param optional
11 years ago
Carsten Brandt
1708a36d95
WIP merge ActiveRelation into ActiveQuery
...
allow extending only one class to add scopes, fixes #2146
TODO:
- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
11 years ago
Qiang Xue
fb3b2f2c7d
Fixes #2490 : `yii\db\Query::count()` and other query scalar methods now properly handle queries with GROUP BY clause
11 years ago
Qiang Xue
c92a260a3d
Fixes #2415 : Added support for inverse relations
11 years ago
Qiang Xue
76f6896b22
doc fix. [skip ci]
11 years ago
Sergey Gonimar
ee2a6b7e76
Update Migration.php
11 years ago
Qiang Xue
e1f4a9cc8f
Added Connection::enableSavepoint.
11 years ago
Qiang Xue
bea9e3fc06
Fixes #1645 : Added support for nested DB transactions
11 years ago
Qiang Xue
abb2a0db97
minor improvement of label generation.
11 years ago
Qiang Xue
9a068f50f4
Refactored batch query.
11 years ago
djagya
da16f508c2
#2436 override the function `getAttributeLabel` in `BaseActiveRecord` to receive label of the attribute, which looks like `relatedMode.attribute`, from the related model
11 years ago
djagya
44f5c73111
#2436 override the function `getAttributeLabel` in `BaseActiveRecord` to receive label of the attribute, which looks like `relatedMode.attribute`, from the related model
11 years ago
Qiang Xue
3a930bd675
Finished batch query feature.
11 years ago
Qiang Xue
1571c72251
Fixes #2409 : Added support for fetching data from database in batches
11 years ago
Qiang Xue
e79af9117e
ensure populateRelation() is called for lazy loading.
11 years ago
Qiang Xue
f59598bb8b
Added support for building SQLs with sub-queries
11 years ago
Carsten Brandt
8af941fb53
added note about usage to AR::instantiate()
...
fixes #2370
11 years ago
Alexander Makarov
dd26d39dd8
Removed unused namespace imports
11 years ago
Qiang Xue
1f42b72baa
Fixes #2346 : ActiveQuery used in building sub-query should not need to set FROM clause explicitly.
11 years ago
Alexander Makarov
eb3c6866dd
Removed unused variable
11 years ago
Carsten Brandt
4a9f47bedd
refactored sphinx and db AR to call parent implementation of populateRecord()
11 years ago
Carsten Brandt
16e1aff41b
renamed ActiveRecord::create() to populateRecord()
...
- refactored elasticsearch AR to make type and index available in
instantiate(), issue #1313
fixes #2281
11 years ago
Qiang Xue
266aadd230
Only treat 32bit signed integers as integers so that 32bit clients won’t have trouble.
11 years ago
Qiang Xue
8001d2348c
refactored ActiveRecord::create().
11 years ago
Vladimir Zbrailov
a97f6387f9
added check column
11 years ago
Vladimir Zbrailov
0e0acb2731
added inherit doc block and task number
11 years ago
Vladimir Zbrailov
3319b54c80
added inherit doc block and task number
11 years ago
Alexander Makarov
c2e0b5beb5
Optimized forms code a bit
11 years ago
Vladimir Zbrailov
d017567273
override create
11 years ago
Vladimir Zbrailov
903f5618fe
Added typecast database types into php types
11 years ago
Alexander Makarov
b21fd298c5
Fixed minor coding style issues
11 years ago
Qiang Xue
8e11629a65
Fixes #2160 : SphinxQL does not support OFFSET
...
Improved `QueryBuilder::buildLimit()` to support big numbers
11 years ago
Qiang Xue
8ecceb395f
Fixes #2210 : Mysql driver will now treat `tinyint(1)` as integer instead of boolean
11 years ago
Carsten Brandt
262189533a
huge amount of documentation link fixes
11 years ago
Carsten Brandt
e27c3872ed
doc improvements
11 years ago
Qiang Xue
2be0fd6e13
more union fix.
11 years ago
Qiang Xue
d9a85d091a
Fixes #2175 : QueryBuilder will now append UNION statements at the end of the primary SQL
11 years ago
Alexander Makarov
ee8c0404bf
minor code style and phpdoc fix
11 years ago
Qiang Xue
f6dd6fa2e9
Renamed `ActiveRecordInterface::createActiveRelation()` to `createRelation()`
11 years ago