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 for VFS #2

Open
tionis opened this issue Sep 13, 2023 · 2 comments
Open

Support for VFS #2

tionis opened this issue Sep 13, 2023 · 2 comments

Comments

@tionis
Copy link

tionis commented Sep 13, 2023

There is https://github.com/psanford/sqlite3vfs, but I don't know if that can work with crawshaw as I think that it uses *sql.DB

@tionis
Copy link
Author

tionis commented Sep 13, 2023

Would be nice to have one library to handle all things sqlite

@anacrolix
Copy link
Contributor

Yeah it is a shame. The crawshaw approach has kind of pushed itself into a corner, there are some oddities in the API that make interoperating with other sqlite3 libraries not very useful.

FWIW the adapter repo in this org provides a way to switch between crawshaw and zombiezen (pure Go) implementations of sqlite3.

I was able to get some interoperability with the riyaz-ali sqlite3 extension support by exposing access to the underlying C sqlite3 * object, you might be able to do something similar.

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

2 participants