You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Use single connection so various session-related variables work.// For example: "PRAGMA foreign_keys" for SQLite3, "SET IDENTITY_INSERT" for MS SQL, etc.sqlDB.SetMaxIdleConns(1)
sqlDB.SetMaxOpenConns(1)
sqlDB.SetConnMaxLifetime(0)
no longer work.
Conn requires context, so #73 should be done first.
Similary to
reform.DB
andreform.TX
, we should providereform.Conn
type likedatabase/sql.Conn
.This is very important for drivers that implement
database/sql/driver.SessionResetter
interface. With them, hacks likeno longer work.
Conn requires
context
, so #73 should be done first.See also #151.
The text was updated successfully, but these errors were encountered: