Skip to content

Does CreateKeyWithOptions function set retention time? #87

Open
@ricrug

Description

@ricrug

According to https://pkg.go.dev/github.com/RedisTimeSeries/redistimeseries-go#Client.CreateKeyWithOptions is it possible to define the retention time.

I used the example as shown in the documentation but it doesn't seem that the specified options are correctly applied.

127.0.0.1:6379>` TTL timeserie-1
(integer) -1

Metadata

Metadata

Assignees

Labels

doc-or-sample-fixThis question arise due to lack of proper example, or a confusing one, thus requiring doc changes...questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions