func (*Conn) QueryContext

func (c *Conn) QueryContext(ctx context.Context, query string, args ...interface{}) (*Rows, error)

执行一个返回行的查询,通常是一个 SELECT语句。