ioredis-type
redis type orm
Installation
npm install ioredis-type
Usage
client
const Redis = ; const redis = // host: '127.0.0.1', // password: '', // port: 6379, // db: 0,;
Number
{ const number = redisroot; await number; await number; // 10 await number; // 9}
List
{ const list = redisroot; await list; await list; await list; await list; await list; await listindex-4;}
ZSet
{ const zset = redisroot; await zset; await zset; await zset; await zset; await zset; await zset; await zset; await zset; await zsetindex-4;}
Table
{ const table = redisroot; await table; await table;}
Dir
{ const dirA = redisroot; const dirAa = dirA; await dirA; await dirAa;}