package
Version:
v1.22.0
Opens a new window with list of versions in this module.
Published: Mar 16, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package expr provides a predicate expression parser and evaluator for the oq query language.
type Expr interface {
Eval(row Row) Value
}
Expr is the interface for all expression nodes.
Parse parses a predicate expression string into an Expr tree.
Row provides field access for predicate evaluation.
Value represents a typed value in the expression system.
ArrayVal creates an array Value.
BoolVal creates a bool Value.
IntVal creates an int Value.
NullVal creates a null Value.
StringVal creates a string Value.
const (
KindString ValueKind = iota
KindInt
KindBool
KindNull
KindArray
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.