feat: register MSSQL and Postgres drivers in db-wrapper for improved factory pattern support
This commit is contained in:
@@ -8,6 +8,12 @@ import (
|
||||
"github.com/jackc/pgx/v5/pgxpool"
|
||||
)
|
||||
|
||||
func init() {
|
||||
Register("postgres", func() DbWrapper {
|
||||
return &postgresDbWrapper{dialect: "postgres"}
|
||||
})
|
||||
}
|
||||
|
||||
type postgresRowResult struct {
|
||||
columns []string
|
||||
rows pgx.Rows
|
||||
|
||||
Reference in New Issue
Block a user