Exd v0.1.9 Exd.Query.Builder View Source
Pipe API for constructing Exd.Query structs
Link to this section Summary
Functions
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
Add a where clause to query
Link to this section Functions
Link to this function
from(query \\ %Query{}, name, source)
View Source
from(Exd.Query.t(), binary(), any()) :: Exd.Query.t()
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, type, name, source, left_key, right_key)
View Source
join(Exd.Query.t(), binary(), binary(), binary(), binary(), binary()) :: 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
where(query, field, relation, value)
View Source
where(Exd.Query.t(), binary(), term(), any()) :: Exd.Query.t()
Add a where clause to query