Is there an example with a SQlite driver which works without Cgo #1667
Replies: 3 comments 1 reply
-
I just ran into the same problem. There are currently two issues: a) b) The second issue is the foreign key thing. Query parameters with a
|
Beta Was this translation helpful? Give feedback.
-
ent pure go sqlite3 driver, wrap modernc.org/sqlite
|
Beta Was this translation helpful? Give feedback.
-
just append |
Beta Was this translation helpful? Give feedback.
-
I'm on a Windows 10 corporate laptop and I don't really want to install GCC. All the examples from the docs use the
github.com/mattn/go-sqlite3
which uses Cgo. Is there an example of a driver that doesn't use Cgo?I tried using the
modernc.org/sqlite
package but am getting the following error -Error -
As you can see I've already passed in the
_fk=1
in the connection string, but it's still failing.Any help please @a8m
Beta Was this translation helpful? Give feedback.
All reactions