Carsten Brandt
|
b4612637ec
|
make count behave like in SQL
also fixed count behavior according to limit and offset.
fixes #1458
|
11 years ago |
Carsten Brandt
|
c1febb74ff
|
reduce randomness in test results
|
11 years ago |
Carsten Brandt
|
8ac2b7364d
|
moved redis to extensions
|
11 years ago |
Carsten Brandt
|
47705f0bc9
|
corrected assertations for test on #1310
|
11 years ago |
Carsten Brandt
|
f017ba357f
|
refactored unit tests. put common AR tests in trait
|
11 years ago |
Carsten Brandt
|
c6347d6d01
|
polished elasticsearch AR api, added mget and fixed AR::equals()
|
11 years ago |
Carsten Brandt
|
8542448f20
|
refactored redis AR to relect the latest changes
- make use of traits
- short array
- better implementation of query findByPk
|
11 years ago |
Carsten Brandt
|
179618c6e9
|
fixed empty result in findByPk list
|
11 years ago |
Carsten Brandt
|
3e75c11721
|
cleanup and reorder methods in redis ar + added link+unlink
|
11 years ago |
Carsten Brandt
|
d2c7ef76b3
|
more tests
|
11 years ago |
Carsten Brandt
|
142ea1f98f
|
relation support and unit tests
|
11 years ago |
Carsten Brandt
|
7850c8d238
|
made indexBy callable like db AR
|
11 years ago |
Carsten Brandt
|
130b63461c
|
redis WIP
- relation support
- completed and refactored lua script builder
|
11 years ago |
Carsten Brandt
|
e62e84873c
|
more API methods for redis active query: sum, avg, max, min ...
|
11 years ago |
Carsten Brandt
|
7817815dd1
|
added more complex queries via Lua script EVAL to redis
- http://redis.io/commands/eval
- http://www.lua.org/
|
11 years ago |
Carsten Brandt
|
72889128fc
|
fixed offset and limit in redis AR
|
11 years ago |
Carsten Brandt
|
563171eba4
|
moved redis out of yii\db namespace
|
11 years ago |
Carsten Brandt
|
0cd65e7496
|
commented failing tests
|
11 years ago |
Carsten Brandt
|
e3df19d984
|
Redis AR WIP
- introduced RecordSchema class for schema definition
|
11 years ago |
Carsten Brandt
|
baac7e14df
|
moved classes from framework -> yii
|
12 years ago |
Carsten Brandt
|
79982c9848
|
Redis Insert, Update, Delete and Find is ready and roughly unit tested
relations are not working yet
|
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
|
0e3e2698d7
|
cleanup of AR
|
12 years ago |
Qiang Xue
|
d15378ef43
|
moved db tests.
|
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
|
a8be9ce412
|
new AR WIP
|
12 years ago |
Qiang Xue
|
377181a008
|
new AR WIP
|
12 years ago |
Qiang Xue
|
8c26893992
|
Implemented new scope declaration syntax.
|
12 years ago |
Qiang Xue
|
0fd8212356
|
support using anonymous function to customize relational queries.
|
13 years ago |
Qiang Xue
|
ed513b4da9
|
...
|
13 years ago |
Qiang Xue
|
5ddc1ba18a
|
Finished AR query.
|
13 years ago |
Qiang Xue
|
233183995a
|
...
|
13 years ago |
Qiang Xue
|
0e40fb4a61
|
finished AR findBySql and eager loading.
|
13 years ago |
Qiang Xue
|
b90f94fe9a
|
finished eager loading.
|
13 years ago |
Qiang Xue
|
df003215de
|
...
|
13 years ago |
Qiang Xue
|
c3216bd05e
|
renamed indexBy to be index.
|
13 years ago |
Qiang Xue
|
769a114d39
|
renamed groupBy and orderBy to be group and order.
|
13 years ago |
Qiang Xue
|
d794a813ec
|
...
|
13 years ago |
Qiang Xue
|
50743935d3
|
...
|
13 years ago |
Qiang Xue
|
a53acdf60d
|
....
|
13 years ago |
Qiang Xue
|
3210a2171c
|
...
|
13 years ago |
Qiang Xue
|
cf10943cd3
|
...
|
13 years ago |