dynamoattr

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareValues

func CompareValues(lhs any, op string, rhs any) bool

CompareValues compares DynamoDB attribute values against an operator.

func ParseNumeric

func ParseNumeric(v any) (float64, bool)

ParseNumeric tries to read a value as a float64 number.

func ResolveValue

func ResolveValue(token string, attrValues map[string]any) any

ResolveValue maps expression tokens to attribute values when prefixed with ':'.

func SplitANDConditions

func SplitANDConditions(expression string) []string

SplitANDConditions splits an expression by " AND " while preserving BETWEEN ... AND ... clauses.

func ToString

func ToString(v any) string

ToString renders DynamoDB attribute values into comparable strings.

func UnwrapAttributeValue

func UnwrapAttributeValue(v any) any

UnwrapAttributeValue converts a DynamoDB wire attribute map into a bare value when possible.

Types

This section is empty.

Jump to

Keyboard shortcuts

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