box

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConditionLeft

func ConditionLeft(c query.Condition, fs []query.Field) (query.Condition, error)

ConditionLeft iterates over all rules (even nested) and replaces all string field names (left part of rule) with their query.Field definitions. Method will fail on unknown fields.

func FilterLeft

func FilterLeft(f query.Filter, fs []query.Field) (query.Filter, error)

FilterLeft iterates over all rules (even nested) and replaces all string field names (left part of rule) with their query.Field definitions. Also, replace sorting settings. Method will fail on unknown fields.

func QueryLeft

func QueryLeft(q query.Query, fs []query.Field) (query.Query, error)

QueryLeft iterates over all rules (even nested) and replaces all string field names (left part of rule) with their query.Field definitions. Also, replace sorting settings. Method will fail on unknown fields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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