You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, and thank you for all the hard work on gorocksdb!
I'm trying to figure out if there is a way I can dump all options from a database for an API I'm working on.
I see that I can get options by string, which returns an options struct with that string set, so in theory I could call this for every options string. But what I'm looking for is something like this where I can get all options at once. There are a lot of Set* functions on the Options struct, so if there were corresponding Get* functions I could build something from that as well, but again a "get all" function would be easier.
I'm thinking I could probably create a PR based off this, but I'm not very familiar with cgo, so before I go down that route I figured I should ask if there is already a way to do this that I'm missing.
Thanks.
The text was updated successfully, but these errors were encountered:
Hello, and thank you for all the hard work on gorocksdb!
I'm trying to figure out if there is a way I can dump all options from a database for an API I'm working on.
I see that I can get options by string, which returns an options struct with that string set, so in theory I could call this for every options string. But what I'm looking for is something like this where I can get all options at once. There are a lot of
Set*
functions on theOptions
struct, so if there were correspondingGet*
functions I could build something from that as well, but again a "get all" function would be easier.I'm thinking I could probably create a PR based off this, but I'm not very familiar with cgo, so before I go down that route I figured I should ask if there is already a way to do this that I'm missing.
Thanks.
The text was updated successfully, but these errors were encountered: