type DB struct {
    *sql.DB
    driverName string
    unsafe     bool
    Mapper     *reflectx.Mapper
}
// sqlx.DB 内嵌了 sql.DB 因此,可以直接调用sql的一些方法
// sqlx.Conn
// Conn is a wrapper around sql.Conn with extra functionality
type Conn struct {
    *sql.Conn
    driverName string
    unsafe     bool
    Mapper     *reflectx.Mapper
}
PHP 8.1.1 - 2.981 ms, 0 Q