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 CGO free SQLite driver: modernc.org/sqlite #72

Closed
iredmail opened this issue Dec 24, 2021 · 1 comment · May be fixed by #161
Closed

Support CGO free SQLite driver: modernc.org/sqlite #72

iredmail opened this issue Dec 24, 2021 · 1 comment · May be fixed by #161
Assignees

Comments

@iredmail
Copy link

Describe the feature

Support CGO-free SQLite driver: https://pkg.go.dev/modernc.org/sqlite

Motivation

CGO-free

@rittneje
Copy link

rittneje commented Jan 5, 2022

Note that any attempt to switch to another driver by default is a breaking change, as it is entirely possible that users are currently passing query arguments only understood by the mattn driver (e.g., _fk=1), or using mattn-specific build tags (e.g, sqlite_foreign_keys).

aymanbagabas added a commit to aymanbagabas/sqlite that referenced this issue Jul 5, 2023
This implements a pure-go alternative driver whenever CGO_ENABLED=0

Related: go-gorm#93
Fixes: go-gorm#35
Fixes: go-gorm#72
Fixes: go-gorm#77
Fixes: go-gorm#160
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

Successfully merging a pull request may close this issue.

3 participants