etcd-io / zetcd

Serve the Apache Zookeeper API but back it with an etcd cluster
Apache License 2.0
1.09k stars 94 forks source link

etcd3 STM client does not Support Range fetch over keys? #93

Closed amansardana closed 6 years ago

amansardana commented 6 years ago

I am trying to use STM client for my project. I need to:

1.) Query keys between particular range 2.) Query keys with specified prefix

But i wasn't able to find a function which provides this functionality in STM interface. There is Get(keys ...string) function but it does not have any OpOptions parameter.

Is there some particular reason that it has been left out and what is the best way to do this.

amansardana commented 6 years ago

Sorry .. Wrong repository..