You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
594 B
594 B
To allow AR to be stored in redis we need a special Schema for it.
HSET prefix:className:primaryKey
Current Redis connection: https://github.com/jamm/Memory
Queries
wrap all these in transactions MULTI
insert
SET all attribute key-value pairs SET all relation key-value pairs make sure to create back-relations
update
SET all attribute key-value pairs SET all relation key-value pairs
delete
DEL all attribute key-value pairs DEL all relation key-value pairs make sure to update back-relations
http://redis.io/commands/hmget sounds suiteable!