Documentation
¶
Index ¶
- func FTFinalQuery(query string) string
- func FTGenNumericRangeQuery[T Integer](name string, from, to T, fromFlag, toFlag NumericRangeFlag) (query string, err error)
- func FTGenNumericRangeQueryIgnoreError[T Integer](name string, from, to T, fromFlag, toFlag NumericRangeFlag) (query string)
- func FTGenNumericTagsQuery[T Integer](name string, vs []T) string
- func FTGenNumericTagsQueryEx[T Integer](name string, vs []T, useNot, useAnd bool) string
- func FTGenTagsQuery(name string, vs []string) string
- func FTGenTagsQuery2[T any](name string, vs []T) string
- func FTGenTextQuery(name, value string) string
- type Integer
- type NumericRangeFlag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FTFinalQuery ¶
func FTGenNumericRangeQuery ¶
func FTGenNumericRangeQuery[T Integer](name string, from, to T, fromFlag, toFlag NumericRangeFlag) (query string, err error)
func FTGenNumericRangeQueryIgnoreError ¶
func FTGenNumericRangeQueryIgnoreError[T Integer](name string, from, to T, fromFlag, toFlag NumericRangeFlag) (query string)
func FTGenNumericTagsQuery ¶
func FTGenNumericTagsQueryEx ¶
func FTGenTagsQuery ¶
func FTGenTagsQuery2 ¶
func FTGenTextQuery ¶
Types ¶
type NumericRangeFlag ¶
type NumericRangeFlag int
const ( // BoundInclusive represents a closed boundary that includes the endpoint value. // Example: [5, 10] — both 5 and 10 are included. BoundInclusive NumericRangeFlag = iota // BoundExclusive represents an open boundary that excludes the endpoint value. // Example: (5, 10) — neither 5 nor 10 is included. BoundExclusive // BoundNegInf represents negative infinity (-∞). // Used to indicate no lower bound in a numeric range. BoundNegInf // BoundPosInf represents positive infinity (+∞). // Used to indicate no upper bound in a numeric range. BoundPosInf )
func (NumericRangeFlag) String ¶
func (f NumericRangeFlag) String() string
Click to show internal directories.
Click to hide internal directories.