calcinator v5.0.0 Calcinator.Resources.Sorts View Source

Sorts in Calcinator.Resources.query_options

Link to this section Summary

Functions

Maps Alembic.Fetch.t sorts attribute to t Resources.Sort.t field and Alembic.Fetch.t sorts relationships to t Resources.Sort.t associations

Maps Alembic.Fetch.t sorts attribute to t Resources.Sort.t field and Alembic.Fetch.t sorts relationships to t Resources.Sort.t associations

Maps t Resources.Sort.t field to Alembic.Fetch.t sorts attribute and t Resources.Sort.t associations to Alembic.Fetch.t sorts relationships

Link to this section Types

Link to this section Functions

Maps Alembic.Fetch.t sorts attribute to t Resources.Sort.t field and Alembic.Fetch.t sorts relationships to t Resources.Sort.t associations.

Link to this function from_alembic_fetch_sorts(sorts, options) View Source
from_alembic_fetch_sorts(Alemic.Fetch.Sorts.t | nil, Calcinator.Resources.Sort.from_alembic_fetch_sort_options) ::
  {:ok, nil | t} |
  Alembic.FromJson.error

Maps Alembic.Fetch.t sorts attribute to t Resources.Sort.t field and Alembic.Fetch.t sorts relationships to t Resources.Sort.t associations.

Link to this function to_alembic_fetch_sorts(sorts, options) View Source
to_alembic_fetch_sorts(nil, Calcinator.Resources.t) :: {:ok, nil}
to_alembic_fetch_sorts(t, Calcinator.Resources.t) ::
  {:ok, Alembic.Fetch.Sorts.t} |
  Alembic.FromJson.error

Maps t Resources.Sort.t field to Alembic.Fetch.t sorts attribute and t Resources.Sort.t associations to Alembic.Fetch.t sorts relationships.