Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrepareFilters ¶ added in v0.0.17
func PrepareFilters(filters ...interface{}) []api_entity.GormFilter
Types ¶
type Field ¶
type Field struct { Field string Type FilterType Value any }
type FilterType ¶
type FilterType string
const ( EQ FilterType = "=" NE FilterType = "!=" GE FilterType = ">=" GT FilterType = ">" LE FilterType = "<=" LT FilterType = "<" LIKE FilterType = "LIKE" IN FilterType = "IN" NOTIN FilterType = "NOT IN" BETWEEN FilterType = "BETWEEN" NOTNULL FilterType = "IS NOT NULL" )
Click to show internal directories.
Click to hide internal directories.