View Source Seeker.Joins (seeker v0.2.0)

Joins implementation for Seeker.

Summary

Functions

Adds joins statements to the ecto query based on the query(q) and sort(s) params.

Functions

@spec call(Ecto.Query.t(), map()) :: Ecto.Query.t()

Adds joins statements to the ecto query based on the query(q) and sort(s) params.

Parameters

  • scope: Ecto.Query [Ecto query struct]
  • params: Map [Plug.Conn params]

Examples

iex> call(scope, params)
%Ecto.Query{}