Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting all options #179

Open
hkparker opened this issue Oct 7, 2019 · 0 comments
Open

Getting all options #179

hkparker opened this issue Oct 7, 2019 · 0 comments

Comments

@hkparker
Copy link

hkparker commented Oct 7, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant