Carsten Brandt
|
ece300ac30
|
removed null value adjustment in redis ActiveQuery
asArray will not include null valued keys
|
10 years ago |
Carsten Brandt
|
df22616c76
|
finished fix for redis null and boolean value storage
fixes #1311
|
10 years ago |
Alexander Makarov
|
f7fc1faa97
|
Fixed condition building for booleans
|
10 years ago |
Alexander Makarov
|
0c14f47f9a
|
Fixes #3793: Changed inline autocomplete hints style to get more IDEs support
|
10 years ago |
Carsten Brandt
|
d92281dcda
|
refactored ActiveRecord::unlinkAll() to work will noSQL
issue #3520
|
10 years ago |
Alexander Makarov
|
9c564808e5
|
Added missing models for Redis tests
|
10 years ago |
Alexander Makarov
|
75154d351d
|
Refactored AR find
|
11 years ago |
Qiang Xue
|
a6aaafd3e6
|
Fixed test break.
|
11 years ago |
Qiang Xue
|
3ba9dcbedc
|
Fixed test break.
|
11 years ago |
Carsten Brandt
|
d97996c354
|
added tests for redis
|
11 years ago |
Qiang Xue
|
f7a6cb9f7a
|
Refactored AR tests.
|
11 years ago |
Alexander Makarov
|
ab799d8ea9
|
Fixes #2911: Removed `tbl_` default for table prefix
|
11 years ago |
SonicGD
|
b5f8a4dc22
|
Reformat code te be PSR-2 compatible
|
11 years ago |
AlexGx
|
32d0768919
|
style fixes with phpcs:yii2
|
11 years ago |
Carsten Brandt
|
8a32379537
|
fixed test break
|
11 years ago |
Alexander Makarov
|
dd26d39dd8
|
Removed unused namespace imports
|
11 years ago |
Alexander Kochetov
|
0ec5643ce3
|
Unit tests updated
|
11 years ago |
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 |