Is it possible using other SQL Lite connector (eg modernc.org/sqlite) than mattn/go-sqlite3 ? #551
interestingthings
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to replace "github.com/mattn/go-sqlite3" with "modernc.org/sqlite" or similar ?
As far I encountered mattn/go-sqlite3 uses the libsqlite3.so and I think modernc.org/sqlite does not depend on that library - which enables easier installation!
My tests importing modernc.org/sqlite in mdtest/main.go using
container, err = sqlstore.New("sqlite", "file:"+databaseFilename+"?_pragma=foreign_keys(1)", dbLog)
didn't work well!
Any solutions/suggestions on that case?
Beta Was this translation helpful? Give feedback.
All reactions