Documentation
¶
Overview ¶
Package conditionexpression parses DynamoDB conditions expressions, as documented at https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.OperatorsAndFunctions.html.
This includes the stricter subset of "key conditions" which are used when querying, inspecting partition and sort keys only.
TODO: see https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Constraints.html#limits-expression-parameters for max limits
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Expression ¶
type Expression struct {
// contains filtered or unexported fields
}
func Parse ¶
func Parse(s string) (Expression, error)
func ParsePretty ¶
func ParsePretty(s string) (Expression, error)
func (Expression) Evaluate ¶
func (e Expression) Evaluate( item map[string]*dynamodb.AttributeValue, names map[string]*string, values map[string]*dynamodb.AttributeValue, ) (bool, error)
func (Expression) PrettyPrint ¶
func (e Expression) PrettyPrint(w io.Writer)
Click to show internal directories.
Click to hide internal directories.