func (*Tx) Query

func (tx *Tx) Query(query string, args ...interface{}) (*Rows, error)

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