Versions in this module Expand all Collapse all v1 v1.0.0 Mar 17, 2025 Changes in this version + const IdentifierTypeBool + const IdentifierTypeFloat + const IdentifierTypeInt + const IdentifierTypeJSON + const IdentifierTypeString + const IdentifierTypeTimestamp + var ErrInvalidFilter = errors.New("invalid filter") + func IsParsingError(err error) bool + func IsUnknownIdentifier(err error) bool + func IsUnsupportedOperation(err error) bool + type Identifier struct + DBName string + ExprName string + JSONSpec JSONTree + Type IdentifierType + type IdentifierType internal.ExprType + type JSONElement interface + IdentifierType func() IdentifierType + type JSONLeaf IdentifierType + func (l JSONLeaf) IdentifierType() IdentifierType + type JSONTree map[string]JSONElement + func (l JSONTree) IdentifierType() IdentifierType + type ParsingError struct + Err error + func (e *ParsingError) Error() string + type SQLWhereCondition string + type Translator interface + Translate func(query string) (SQLWhereCondition, error) + func NewTranslator(allowedIdentifiers []Identifier, _ TranslatorDialect) Translator + type TranslatorDialect byte + const TranslatorDialectPostgres + type UnknownIdentifierError struct + func (e *UnknownIdentifierError) Error() string + type UnsupportedOperationError struct + func (e *UnsupportedOperationError) Error() string