func (p *Update) Expressions() []sql.Expression {
	return p.UpdateExprs
}
Expressions implements the Expressioner interface.
package plan
import (
	"github.com/src-d/go-mysql-server/sql"
	"gopkg.in/src-d/go-errors.v1"
	"io"
)
var ErrUpdateNotSupported = errors.NewKind("table doesn't support UPDATE")
var ErrUpdateUnexpectedSetResult = errors.NewKind("attempted to set field but expression returned %T")
type Update struct {
	sql.Node
	UpdateExprs []sql.Expression
}
func NewUpdate(n sql.Node, updateExprs []sql.Expression) *Update {
	return &Update{n, updateExprs}
}