func (*Stmt) Query

func (s *Stmt) Query(args ...interface{}) (*Rows, error)

使用给定的参数执行已准备好的查询语句,并以 * Rows 的形式返回查询结果。