package
0.21.6
Repository: https://github.com/neuronlabs/neuron.git
Documentation: pkg.go.dev

# Functions

New creates new filterField for given 'field', operator and 'values'.
NewFilter creates new filterField for the default controller, 'model', 'filter' query and 'values'.
NewRelation creates new relationship filter for the 'relation' StructField.
Or creates a logical 'OR' group filter.
RegisterMultipleOperators registers multiple operators at once.
RegisterOperator registers the operator in the provided container.

# Constants

ParamFilter is the filter query parameter used as the key in the url values.

# Variables

ErrFilter is the minor error classification related to the filters.
ErrFilterCollection is the error classification for the filter collection.
ErrFilterField is the error classification for the filter fields.
ErrFilterFormat is the error classification for the filter format.
ErrFilterValues is the error classification for the filter values.
Strings Only operators.
Strings Only operators.
Logical Operators.
Operators is the container that stores all query filter operators.
Logical Operators.
Logical Operators.
Logical Operators.
Null and Existence operators.
Logical Operators.
Logical Operators.
Logical Operators.
Logical Operators.
Null and Existence operators.
Strings Only operators.

# Structs

Operator is the operator used for filtering the query.
Relation is the relationship filter field.
Simple is a struct that keeps information about given query filters.

# Interfaces

Filter is the interface used a filter for the queries.

# Type aliases

Filters is the wrapper over the slice of filter fields.
OrGroup is the filter that allows to make a logical OR query.