query v0.1.2 Query.Builder

The Query.Builder is used to take query params, and ready them to create a valid

Link to this section Summary

Link to this section Types

Link to this type param()
param() :: %{optional(binary) => binary}
Link to this type t()
t() :: %Query.Builder{limit: integer, offset: integer, page: integer, queryable: Ecto.Queryable.t, repo: atom, scopes: [{atom, atom, [binary]}], sorting: [{atom, atom}]}

Link to this section Functions

Link to this function new(queryable, params \\ %{}, options \\ [])
Link to this function put_paging(builder, params, paging)
Link to this function put_queryable(builder, queryable)
Link to this function put_repo(builder, repo)
Link to this function put_scopes(builder, params, scopes)
Link to this function put_sorting(builder, params, sorting)