Carsten Brandt
a7b852fcc3
Changed elasticsearch AR primary key handling
...
now supports mapped primary key when _id is part of source with an
alias.
11 years ago
Carsten Brandt
83527e85ca
made Model::attributes() non static again
...
- allows to have dynamic definition of attributes depended on the
instance
- there was no real need for it to be static. Places that used it static
have been refactored.
fixes #1318
11 years ago
Carsten Brandt
b081cf5e46
moved elasticsearch to extensions
11 years ago
Carsten Brandt
af5d87ac4d
renamed elasticsearch PK to id
11 years ago
Carsten Brandt
f017ba357f
refactored unit tests. put common AR tests in trait
11 years ago
Carsten Brandt
983b2286ba
elasticsearch AR relations + null values
11 years ago
Carsten Brandt
39ff11a374
first draft of elasticsearch AR
11 years ago
Carsten Brandt
d442f05631
elasticsearch find by simple condition
11 years ago
Carsten Brandt
a94886fafd
elasticsearch AR WIP copied parts from redis implementation
11 years ago
Carsten Brandt
3a347c3587
added property docs to AR test classes
11 years ago
Alexander Makarov
0596fa82fd
code style fixes
12 years ago
Qiang Xue
034d88e5e4
Fixes issue #134
12 years ago
Zander Baldwin
4be9e195c2
Add Newlines
...
Appended newlines to every PHP document that did not have a newline as the last character in the file.
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
5d90e6da80
removed scopes.
...
finished AR documentation.
12 years ago
Qiang Xue
3ca50f3043
clean up AR
12 years ago
Qiang Xue
46ab456f4e
finished new AR.
12 years ago
Qiang Xue
c9b104f0a1
refactored AR relation.
12 years ago
Qiang Xue
8517ee9e50
reorganized DB classes.
12 years ago
Qiang Xue
30c52fad96
finished draft implementation of new AR.
12 years ago
Qiang Xue
44af0aa97a
AR wip
12 years ago
Qiang Xue
377181a008
new AR WIP
12 years ago
Qiang Xue
d876da383e
...
12 years ago
Qiang Xue
8c26893992
Implemented new scope declaration syntax.
13 years ago
Alexander Makarov
85c0a3b355
Fixed scope issue in tests
13 years ago
Qiang Xue
e281b402b6
...
13 years ago
Qiang Xue
df003215de
...
13 years ago
Qiang Xue
769a114d39
renamed groupBy and orderBy to be group and order.
13 years ago
Qiang Xue
a53acdf60d
....
13 years ago
Qiang Xue
c5cdcab6c6
...
13 years ago
Qiang Xue
376dd0d41e
..
13 years ago