json_api_query_builder v1.0.1 JsonApiQueryBuilder.Sort View Source

Sort operations for JsonApiQueryBuilder

Link to this section Summary

Functions

Applies sorting from a parsed JSON-API request to an Ecto.Queryable.t

Link to this section Functions

Link to this function sort(query, arg2, callback) View Source

Applies sorting from a parsed JSON-API request to an Ecto.Queryable.t

The given callback will be used to map from API field name strings to Ecto schema atoms.