Rivet.Utils.Criteria (rivet_utils v2.0.8)
View SourceCriteria is used for cursor based pagination.
Contributor: Brandon Gillespie
Summary
Functions
Function to apply the limit to the query (optional)
Function to apply the offset to the query (optional)
Function to order the collection by attribute and direction
Take out the :criteria item from the arguments Returns something like
Functions
Function to apply the limit to the query (optional)
Function to apply the offset to the query (optional)
Function to order the collection by attribute and direction
Take out the :criteria item from the arguments Returns something like:
{:ok, %{limit: 500, offset: 1, sort: {"taskTitle", :asc}}}