ozzo-dbx icon indicating copy to clipboard operation
ozzo-dbx copied to clipboard

Added 'sqlite' key to db.BuilderFuncMap for noncgo sqlite driver support

Open ganigeorgiev opened this issue 3 years ago • 0 comments

The noncgo sqlite driver (https://pkg.go.dev/modernc.org/sqlite) uses sqlite as driver key. This PR adds the key to the db.BuilderFuncMap, so that users don't have to do:

func init() {
    dbx.BuilderFuncMap["sqlite"] = dbx.BuilderFuncMap["sqlite3"]
}

ganigeorgiev avatar Jun 03 '22 09:06 ganigeorgiev