Qiang Xue
41685a2409
moved extensions under yii.
11 years ago
Carsten Brandt
e2b4708bbd
added support for updateCounters to elasticsearch
...
issue #1313
11 years ago
Alexander Makarov
26767735dc
Renamed byte methods, moved path methods back to StringHelper
11 years ago
Alexander Makarov
5f2a612c78
Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods
11 years ago
Carsten Brandt
48199cfc00
renamed redis tableName() to keyPrefix()
11 years ago
Carsten Brandt
d0fc987f0b
fixed test break
11 years ago
Carsten Brandt
ff52f28d0a
adjusted elasticsearch and redis AR to use BaseAR
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
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
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Carsten Brandt
8ac2b7364d
moved redis to extensions
11 years ago
Carsten Brandt
39ff11a374
first draft of elasticsearch AR
11 years ago
Qiang Xue
a07facf434
Refactored hasMany and hasOne so that they support cross-DBMS relationship.
11 years ago
Carsten Brandt
cb4504a10f
refactored Model and redis AR to allow drop of RecordSchema
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
b95c056b02
fixed problem with not closed transaction in deleteAll()
11 years ago
Carsten Brandt
df22ffa304
redis AR cleanup
11 years ago
Carsten Brandt
f3aa807d8f
ensure atomicity of operations
11 years ago
Carsten Brandt
c6c164dc71
made link() and unlink() compatible with NoSQL AR
11 years ago
Carsten Brandt
3e75c11721
cleanup and reorder methods in redis ar + added link+unlink
11 years ago
Carsten Brandt
142ea1f98f
relation support and unit tests
11 years ago
Carsten Brandt
3623fc19dc
refactored redis AR pk and findByPk
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
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
b85c87bc55
AR relations copy&paste
12 years ago
Carsten Brandt
b030326db6
moved files to right places
12 years ago
Carsten Brandt
fd5e6ccfed
fixed db exception according to signature change
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
7efe3b1483
Redis active record data storage implementation
...
insert update delete
12 years ago
Carsten Brandt
39a1ce406b
Redis concept finished except relations
12 years ago
Carsten Brandt
f642caf15d
redis db backend WIP
12 years ago