DataProvider.SearchOptions (DataProvider v1.2.1) View Source

Module with searching params in DataProvider

Link to this section Summary

Types

t()

Search options

Functions

Creates new DataProvider.SearchOptions with received params

Merges options value of received DataProvider.SearchOptions with params in second argument.

Replaces options in DataProvider.SearchOptions by received params map.

Link to this section Types

Specs

t() :: %DataProvider.SearchOptions{options: map()}

Search options

Fields

Link to this section Functions

Specs

create(map()) :: t()

Creates new DataProvider.SearchOptions with received params

Link to this function

merge_options(current_options, params)

View Source

Specs

merge_options(t(), map()) :: t()

Merges options value of received DataProvider.SearchOptions with params in second argument.

Args

Link to this function

put_options(current_options, params)

View Source

Specs

put_options(t(), map()) :: t()

Replaces options in DataProvider.SearchOptions by received params map.

Args