Exzeitable v0.1.1 Exzeitable.Filter View Source

Filtering data

Link to this section Summary

Functions

Selects the page buttons we need for pagination

Gets the parent that the nested resource belongs to

Returns true if any of the fields have search enabled

Gets fields from options and merges it into the defaults

Link to this section Functions

Link to this function

fields_where(fields, attribute)

View Source
Link to this function

fields_where_not(fields, attribute)

View Source
Link to this function

filter_pages(pages, page)

View Source
filter_pages(integer(), integer()) :: [String.t() | Integer]

Selects the page buttons we need for pagination

Link to this function

parent_for(entry, map)

View Source
parent_for(map(), map()) :: map() | nil

Gets the parent that the nested resource belongs to

Returns true if any of the fields have search enabled

Link to this function

set_fields(opts)

View Source
set_fields(keyword()) :: [any()]

Gets fields from options and merges it into the defaults