expression

package
v0.0.0-...-6c7ef32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2019 License: Apache-2.0 Imports: 1 Imported by: 8

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL