Flop.Schema.default_order
You're seeing just the function
default_order
, go back to Flop.Schema module for more information.
Specs
default_order(any()) :: %{ order_by: [atom()] | nil, order_directions: [Flop.order_direction()] | nil }
Returns the default order of a schema.
iex> Flop.Schema.default_order(%Flop.Fruit{})
%{order_by: [:name], order_directions: [:asc]}