Accessors for the settings given to use BoxTurtle.Schema.Query.
Every accessor takes an optional keyword list; a value for the same key in it overrides the use-time setting.
This is how call-time options such as repo: or default_sort: take effect.
Summary
Callbacks
Adds every use-time setting to the given options, keeping any value already present in them.
Callbacks
@callback default_distinct() :: [atom()]
@callback default_preloads() :: list()
@callback default_sort() :: BoxTurtle.Schema.Sort.API.sort_spec()
@callback default_sort(keyword()) :: BoxTurtle.Schema.Sort.API.sort_spec()
@callback filter_module() :: module()
Adds every use-time setting to the given options, keeping any value already present in them.
@callback page_size() :: pos_integer()
@callback page_size(keyword()) :: pos_integer()
@callback primary_key() :: atom()
@callback repo() :: module()
@callback schema() :: module()
@callback sorting_module() :: module()