Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter struct {
Column string
Value any
Type FilterType
}
type FilterType ¶
type FilterType string
const ( FilterTypePartialMatch FilterType = "partialMatch" FilterTypeExactMatch FilterType = "exactMatch" )
type Pagination ¶
type SelectQuery ¶
type SelectQuery struct {
Filters []Filter
Sorting []Sorting
Entity interface{}
Pagination Pagination
}
type SortDirection ¶
type SortDirection string
const ( SortDirectionAsc SortDirection = "asc" SortDirectionDesc SortDirection = "desc" )
type Sorting ¶
type Sorting struct {
Column string
Direction SortDirection
}
Click to show internal directories.
Click to hide internal directories.