Qiang Xue
|
a2fe128455
|
refactored query and relation.
|
11 years ago |
Qiang Xue
|
42a58870fe
|
moved db interfaces and traits back to yii/db.
|
11 years ago |
Carsten Brandt
|
1acdbb741c
|
moved indexBy() trait -> interface + removed findWith from interface
|
11 years ago |
Carsten Brandt
|
51faa62eca
|
updated interface and trait php-doc in yii\ar
[ci skip]
|
11 years ago |
Carsten Brandt
|
65338972c7
|
refactored ActiveRecord classes to use Interfaces and traits
this allows us to implement other activerecord implementations based on
NoSQL dbms
|
11 years ago |
Carsten Brandt
|
b8e31d50bb
|
renamed AR trait classes
|
11 years ago |
Carsten Brandt
|
4653526262
|
moved common parts of db ActiveRelation and Query to traits
these parts can be reused in other ActiveRecord implementations
|
11 years ago |
Alexander Makarov
|
1f6a823073
|
Short array syntax
|
11 years ago |
Alexander Makarov
|
817516adc5
|
Added missing return
|
11 years ago |
Alexander Makarov
|
6488fe47ec
|
Better phpdoc for chained method calls
|
11 years ago |
Qiang Xue
|
aede3c9f47
|
Removed duplicated indexBy declaration.
|
11 years ago |
Qiang Xue
|
6dba4da3ed
|
Fixes #828: refactored QueryBuilder::build()
|
11 years ago |
Qiang Xue
|
d1ebf65597
|
Fixed the issue that ActiveQuery::one() doesn't bring back related objects when asArray is true.
|
11 years ago |
Qiang Xue
|
f03cdf0a47
|
renamed Command::queryRow() to queryOne().
|
12 years ago |
Qiang Xue
|
c4a57a9f6c
|
Refactored Query and ActiveQuery.
Finished ActiveDataProvider.
|
12 years ago |
Qiang Xue
|
aa568aacb5
|
Added support for using callables as "ActiveQuery::indexBy".
|
12 years ago |
Qiang Xue
|
03e07f4340
|
cleaned up "use" statements.
|
12 years ago |
Qiang Xue
|
f72105166c
|
reorganized the main repo to satisfy PSR-0.
|
12 years ago |
Qiang Xue
|
4ab5ce3b5e
|
Fixed join query for AR.
|
12 years ago |
Qiang Xue
|
0d814fa523
|
Moved "framework" to "iii".
|
12 years ago |
Alexander Kochetov
|
48d04fbb8c
|
!== array() => !empty()
|
12 years ago |
Qiang Xue
|
034d88e5e4
|
Fixes issue #134
|
12 years ago |
Qiang Xue
|
4fdaab3560
|
updated file header.
|
12 years ago |
Qiang Xue
|
abd3d827a2
|
refactoring.
|
12 years ago |
Qiang Xue
|
6dd495b65f
|
Added init and afterFind events to AR.
Implemented scope support.
|
12 years ago |
Qiang Xue
|
b51d347465
|
Added count, average, sum, min, max, scalar methods to ActiveQuery.
Added support for scopes defined in AR classes.
|
12 years ago |
Qiang Xue
|
9958a5802e
|
DB cleanup
|
12 years ago |
Qiang Xue
|
5d90e6da80
|
removed scopes.
finished AR documentation.
|
12 years ago |
Qiang Xue
|
cc33a930c9
|
Finished AR API.
|
12 years ago |
Qiang Xue
|
3ca50f3043
|
clean up AR
|
12 years ago |
Qiang Xue
|
ef8b092278
|
initial draft of saving related models.
|
12 years ago |
Qiang Xue
|
c9b104f0a1
|
refactored AR relation.
|
12 years ago |
Qiang Xue
|
0e3e2698d7
|
cleanup of AR
|
12 years ago |
Qiang Xue
|
8e05e6e62d
|
changed copyright line.
|
12 years ago |
Qiang Xue
|
2188ece107
|
refactoring DB
|
12 years ago |
Qiang Xue
|
8517ee9e50
|
reorganized DB classes.
|
12 years ago |
Qiang Xue
|
0cd6b346b6
|
refactoring AR
|
12 years ago |
Qiang Xue
|
23572c74cd
|
refactoring AR.
|
12 years ago |
Qiang Xue
|
1b151818a6
|
Fixed AR bugs.
|
12 years ago |
Qiang Xue
|
a7ecbfee30
|
Fixing AR issues.
|
12 years ago |
Qiang Xue
|
30c52fad96
|
finished draft implementation of new AR.
|
12 years ago |
Qiang Xue
|
4d049fd97c
|
AR WIP
|
12 years ago |
Qiang Xue
|
211c3fb884
|
AR WIP
|
12 years ago |
Qiang Xue
|
58490ae4ff
|
AR WIP
|
12 years ago |
Qiang Xue
|
44af0aa97a
|
AR wip
|
12 years ago |
Qiang Xue
|
de35c62c4e
|
RAR WIP
|
12 years ago |
Qiang Xue
|
a8be9ce412
|
new AR WIP
|
12 years ago |
Qiang Xue
|
377181a008
|
new AR WIP
|
12 years ago |
Qiang Xue
|
b7a7800fec
|
Fixed constructors.
|
12 years ago |
Qiang Xue
|
8c26893992
|
Implemented new scope declaration syntax.
|
12 years ago |