Ejemplo n.º 1
0
def user_result_dumps(id, offset=0, limit=0):
    return redis.lrange(R_USER_RESULT_LIST % id, offset, offset + limit - 1)
Ejemplo n.º 2
0
def user_select_list(id, offset=0, limit=0):
    return redis.lrange(R_USER_SELECT_LIST % id, offset, offset + limit - 1)