// New returns a new SQLX connection
New returns a new SQLX connection
// New returns a new SQLX connection
func New(driverName, dsn string) (*Connection, error) {
	con, err := sqlx.Connect(driverName, dsn)
	if err != nil {
		return nil, err
	}
	return &Connection{
		Queryable: NewQueryable(con),
		con:       con,
		dsn:       dsn,
	}, nil
}
func New ( driverName , dsn string ) ( * Connection , error ) { con , err := sqlx . Connect ( driverName , dsn ) if err != nil { return nil , err } return & Connection { Queryable : NewQueryable ( con ) , con : con , dsn : dsn , } , nil }
New returns a new SQLX connection
New returns a new SQLX connection