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

Support atom values when setting PRAGMAs. #2

Open
dimitarvp opened this issue Dec 27, 2019 · 0 comments
Open

Support atom values when setting PRAGMAs. #2

dimitarvp opened this issue Dec 27, 2019 · 0 comments
Assignees

Comments

@dimitarvp
Copy link
Owner

Currently, getting the values of PRAGMAs applies conversion from the sqlite integer values to Elixir atoms, but the reverse is not happening. Let's support it. Example:

Xqlite.Pragma.put(:auto_vacuum, 0) # This works.
Xqlite.Pragma.put(:auto_vacuum, :none) # This does not work.
@dimitarvp dimitarvp self-assigned this Dec 27, 2019
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