func (*Tx) QueryContext¶
func (tx *Tx) QueryContext(ctx context.Context, query string, args ...interface{}) (*Rows, error)
执行返回行的查询,通常是 SELECT。
func (tx *Tx) QueryContext(ctx context.Context, query string, args ...interface{}) (*Rows, error)
执行返回行的查询,通常是 SELECT。