Flop.Schema.sortable

You're seeing just the function sortable, go back to Flop.Schema module for more information.

Specs

sortable(any()) :: [atom()]

Returns the sortable fields of a schema.

iex> Flop.Schema.sortable(%Flop.Pet{})
[:name, :age]