Categorygithub.com/mailstepcz/expr
modulepackage
0.1.1
Repository: https://github.com/mailstepcz/expr.git
Documentation: pkg.go.dev

# README

expr

Expressions for query builders

# Structs

And is an AST node for conjunction.
Eq is an AST node for equality.
EqAny is an AST node for equality with ANY.
Gt is an AST node for representing the "greater than" comparison operation.
Gte is an AST node for representing the "greater than or equal" comparison operation.
IsNotNull is an AST node for non-nullity testing.
IsNull is an AST node for nullity testing.
Lt is an AST node for representing the "less than" comparison operation.
Lte is an AST node for representing the "less than or equal" comparison operation.
Neq is an AST node for inequality.
NeqAll is an AST node for inequality with ALL.
Or is an AST node for disjunction.
PostgresHandler is a handler for PostgreSQL.

# Interfaces

Expr is an AST node representing an expression.
Handler is a handler for generating expressions from an AST.
SQLHandler is a handler for generating SQL expressions.