Carsten Brandt
cb8237c1b7
merged ActiveQueryInterface and ActiveRelatioInterface
11 years ago
Carsten Brandt
e76fb238d4
added missing use statement
11 years ago
Carsten Brandt
1708a36d95
WIP merge ActiveRelation into ActiveQuery
...
allow extending only one class to add scopes, fixes #2146
TODO:
- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
11 years ago
Alexander Makarov
4a201c7ad5
Removed unused variables
11 years ago
Carsten Brandt
16e1aff41b
renamed ActiveRecord::create() to populateRecord()
...
- refactored elasticsearch AR to make type and index available in
instantiate(), issue #1313
fixes #2281
11 years ago
Carsten Brandt
796284cba1
reworked fix for #1993
11 years ago
Carsten Brandt
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
11 years ago
Qiang Xue
da9d544c54
psr-4 change.
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
Qiang Xue
41685a2409
moved extensions under yii.
11 years ago
Carsten Brandt
48199cfc00
renamed redis tableName() to keyPrefix()
11 years ago
Carsten Brandt
b081cf5e46
moved elasticsearch to extensions
11 years ago
Carsten Brandt
8ac2b7364d
moved redis to extensions
11 years ago
Carsten Brandt
d8feaeb93b
refactored redis AR Query::scalar()
11 years ago
Carsten Brandt
4459cb4f2b
cleanup redis AR
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
86c93cf49a
diff between db\ActiveQuery and redis\ActiveQuery
11 years ago
Carsten Brandt
7850c8d238
made indexBy callable like db AR
11 years ago
Carsten Brandt
3623fc19dc
refactored redis AR pk and findByPk
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
e3df19d984
Redis AR WIP
...
- introduced RecordSchema class for schema definition
11 years ago
Carsten Brandt
b030326db6
moved files to right places
12 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
Carsten Brandt
34b6624410
implemented redis AR ActiveQuery and find()
12 years ago
Carsten Brandt
39a1ce406b
Redis concept finished except relations
12 years ago
Carsten Brandt
f642caf15d
redis db backend WIP
12 years ago