Exd v0.1.25 Exd.Query.Builder View Source
Pipe API for constructing Exd.Query structs
Link to this section Summary
Functions
Set the flatten options
Set the from clause for query
Set the select clause for query
Add a join clause to query
Create a new query
Set the select clause for query
Set the environment of the query
Add a where clause to query
Link to this section Functions
Link to this function
flatten(query, fields)
View Source
flatten(Exd.Query.t(), [term()]) :: Exd.Query.t()
Set the flatten options
Set the from clause for query
Link to this function
into(query, sink, opts \\ [])
View Source
into(Exd.Query.t(), term(), keyword()) :: Exd.Query.t()
Set the select clause for query
Link to this function
join(query, namespace, specable, opts \\ [])
View Source
join(Exd.Query.t(), binary(), any(), keyword()) :: Exd.Query.t()
Add a join clause to query
Create a new query
Link to this function
select(query, selection)
View Source
select(Exd.Query.t(), map()) :: Exd.Query.t()
Set the select clause for query
Link to this function
set(query, key, value)
View Source
set(Exd.Query.t(), term(), any()) :: Exd.Query.t()
Set the environment of the query
Link to this function
where(query, field, relation, value)
View Source
where(Exd.Query.t(), binary(), term(), any()) :: Exd.Query.t()
Add a where clause to query