feat(sqlx): support for custom Acceptable function (#3405)
This commit is contained in:
@@ -32,7 +32,5 @@ func mysqlAcceptable(err error) bool {
|
||||
}
|
||||
|
||||
func withMysqlAcceptable() SqlOption {
|
||||
return func(conn *commonSqlConn) {
|
||||
conn.accept = mysqlAcceptable
|
||||
}
|
||||
return WithAcceptable(mysqlAcceptable)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user