Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTableViewRoutes ¶
func RegisterTableViewRoutes(r *gin.RouterGroup, db *sqlx.DB)
Types ¶
type Filter ¶ added in v0.10.3
type Filter struct { FuncName string `json:"funcName,omitempty"` Key string `json:"key,omitempty"` Parameter interface{} `json:"parameter,omitempty"` Category string `json:"category,omitempty"` }
TODO: delete when tables are switched to v2
type FilterClauses ¶ added in v0.10.3
type FilterClauses struct { And []FilterClauses `json:"$and,omitempty"` Or []FilterClauses `json:"$or,omitempty"` Filter *Filter `json:"$filter,omitempty"` }
TODO: delete when tables are switched to v2
type NewTableView ¶
type TableViewDetail ¶ added in v0.10.3
type TableViewDetail struct { Title string `json:"title"` Saved bool `json:"saved"` Columns []ViewColumn `json:"columns"` Page string `json:"page"` SortBy []ViewOrder `json:"sortBy"` Id int `json:"id"` Filters FilterClauses `json:"filters"` }
TODO: delete when tables are switched to v2
type TableViewJson ¶ added in v0.10.3
type TableViewJson struct { Id int `json:"id" db:"id"` View TableViewDetail `json:"view" db:"view"` }
TODO: delete when tables are switched to v2
type TableViewOrder ¶
Click to show internal directories.
Click to hide internal directories.