-
Notifications
You must be signed in to change notification settings - Fork 36
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
Do you have plan to support sqlite3? #88
Comments
it is indeed sqlite3. What do you mean? |
@jacobzeng you can use this repo just like you would use "github.com/mattn/go-sqlite3". I have had very good results using this repo. |
I can't open DB with |
Thanks for your tip, but I think mattn/go-sqlite3 need CGO, right? I hate that ^^ |
use sql.Open("sqlite","data.db") |
Correct mattn needs cgo, thats why I use this repo. |
This issue could probably be closed, but I'm asking in here at the same time. |
This repo does not depend on sqlite3 mattn module (see go.mod). |
Ah okay. |
The problem with that suggestion is that there are loads of code out there (e.g. ent) that check against the well-known "sqlite3" string to choose SQL dialects. I see at least a couple of alternatives to deal with this and keep backward-compatibility:
|
I really like option 1 of your suggestion, since it will be a simple import of such compat package, without additional calls. |
Thank you first for the repo.
Do you have plan to support sqlite3?
The text was updated successfully, but these errors were encountered: