gorm
gorm copied to clipboard
Gorm connection from Existing SQLite connection
trafficstars
Describe the feature
To be able to use an already opened SQLite DB by Gorm
Motivation
The Gorm for MySQL and Postgres support existing database connections to be reused.
However none of the other databases support the same.
It should be unified accross the board.
Even probably add a special method that accepts a database/sql instance
gorm.FromDB(db *sql.DB)
Related Issues
@jinzhu any updates on this issue?