Hi
import redis
in python - def __init__(self,host,port=6379,db=0):
in nim - proc open(host = "localhost"; port = 6379.Port):
In python and other bindings you can select the database as well as the host and port. Can this be done with Nim and Redis? Seems to not be available.
Thanks
Murray
https://redis.io/commands/select
if you're using https://github.com/nim-lang/redis:
import redis
let r = redis.open()
let database = 5
r.select(database)