RedisTimeSeries / redistimeseries-go

golang client lib for RedisTimeSeries
https://redistimeseries.io
Apache License 2.0
64 stars 18 forks source link

how to specify database number to use for redis timeseries? #171

Open encryptblockr opened 10 months ago

encryptblockr commented 10 months ago

https://github.com/RedisTimeSeries/redistimeseries-go/blob/9578098fd49551fea6474bf001f945d2319312d3/client.go#L17

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?

LiorKogan commented 10 months ago

RedisTimeSeries only supports DB 0.