RedisTimeSeries / redistimeseries-go

golang client lib for RedisTimeSeries

Home Page:https://redistimeseries.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to specify database number to use for redis timeseries?

encryptblockr opened this issue · comments

func NewClient(addr, name string, authPass *string) *Client {

how do we set the database number to use here?!? currently there is no way and always uses database 0
but would have thought it will be common sense to allow to set the database number, no?

RedisTimeSeries only supports DB 0.