Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expression ¶
type Expression interface {
// Clone clones another Expression.
Clone() (Expression, error)
// Eval evaluates expression.
Eval(ctx context.Context, args map[interface{}]interface{}) (v interface{}, err error)
// IsStatic returns whether this expression can be evaluated statically or not.
// A Static expression can be evaluated without ctx and args.
IsStatic() bool
// String returns the presentation of the expression.
String() string
}
Expression is an interface for expression. See https://dev.mysql.com/doc/refman/5.7/en/expressions.html
Click to show internal directories.
Click to hide internal directories.