Qiang Xue
|
5094842370
|
Fixed test break.
|
11 years ago |
Qiang Xue
|
9ceaf3bd1c
|
Fixes #1791.
|
11 years ago |
Qiang Xue
|
9d73048be9
|
Fixes #1791.
|
11 years ago |
Qiang Xue
|
daf6c81f27
|
Fixes #1791
|
11 years ago |
Qiang Xue
|
c4c328dc92
|
Fixes #1791: support ON condition for relational query.
|
11 years ago |
Qiang Xue
|
795a09c27a
|
Fixes #1791: joinWithRelation using table alias.
|
11 years ago |
Qiang Xue
|
1654381a3a
|
support table aliases for ActiveQuery::joinWith().
|
11 years ago |
Qiang Xue
|
2d3ac6b4e2
|
Fixes #1638: prevent table names from being enclosed within curly brackets twice.
|
11 years ago |
Qiang Xue
|
0345191245
|
Added ActiveQuery::innerJoinWith().
|
11 years ago |
Qiang Xue
|
dc720d9bf4
|
more docs about joinwith()
|
11 years ago |
Qiang Xue
|
4f44bb2416
|
Fixes #1581: Added `ActiveQuery::joinWith()` to support joining with relations
|
11 years ago |
Qiang Xue
|
2402d2d031
|
Draft implementation of ActiveQuery::joinWith().
|
11 years ago |
Qiang Xue
|
56c361bb9e
|
Fixed changelog.
|
11 years ago |
Qiang Xue
|
9649a6727a
|
Renamed `attributeName` and `className` to `targetAttribute` and `targetClass` for `UniqueValidator` and `ExistValidator`.
Refactored UniqueValidator and ExistValidator.
|
11 years ago |
Carsten Brandt
|
124a73a598
|
make Query reuseable
fixes #1545
|
11 years ago |
Carsten Brandt
|
2febbebb44
|
fixed params in Query to allow execution twice
fixes #1545
|
11 years ago |
Carsten Brandt
|
5164a1671c
|
finalized Query interface + general cleanup
|
11 years ago |
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
|
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 |
slavcodev
|
b0b1c27c85
|
Fix phpDoc var tag format
|
11 years ago |
mcd-php
|
365bdcf68a
|
FIX: Relation names not mangled in \yii\db\ActiveQuery::normalizeRelations
|
11 years ago |
Qiang Xue
|
bc393ff5d3
|
added doc about sub-relation.
|
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.
|
12 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 |