Skip to content

Expose connection flags #1074

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

Closed
jberkel opened this issue Aug 26, 2021 · 1 comment
Closed

Expose connection flags #1074

jberkel opened this issue Aug 26, 2021 · 1 comment
Milestone

Comments

@jberkel
Copy link
Collaborator

jberkel commented Aug 26, 2021

I'm wondering why the Connection constructor doesn't let you pass flags. E.g., it seems important that I be able to pass the flag SQLITE_OPEN_FILEPROTECTION_NONE.

(@crspybits, #1042)

@jberkel jberkel added this to the 0.14.0 milestone Jul 17, 2022
@jberkel
Copy link
Collaborator Author

jberkel commented Jul 18, 2022

You can now use URIQueryParameter to easily construct URI parameters to control opening behaviour.

https://github.com/stephencelis/SQLite.swift/blob/master/Documentation/Index.md#uri-parameters

Besides, SQLITE_OPEN_FILEPROTECTION_NONE is not a standard SQLite flag.

@jberkel jberkel closed this as completed Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant