Documentation
¶
Index ¶
Constants ¶
View Source
const ( NumberType = "Number" StringType = "String" EnumType = "Enum" DateTimeType = "DateTime" DateType = "Date" BooleanType = "Boolean" )
Variables ¶
This section is empty.
Functions ¶
func GenerateListRedisSearchQuery ¶
func GenerateListRedisSearchQuery(params SearchParams) *orm.RedisSearchQuery
TODO : add full text queries when supported by hitrix
Types ¶
type ListRequest ¶
type SearchParams ¶
type SearchParams struct {
Page int
PageSize int
Search map[string]string
StringFilters map[string]string
NumberFilters map[string]int64
BooleanFilters map[string]bool
Sort map[string]bool
}
func ExtractListParams ¶
func ExtractListParams(cols []Column, request *ListRequest) SearchParams
Click to show internal directories.
Click to hide internal directories.