EctoNeo4j v0.6.4 Ecto.Adapters.Neo4j.Condition View Source

Reprensents an atomix WHERE clause

Link to this section Summary

Functions

Join 2 conditions in one with the given operator

Converts Condition into a string in order to be used in query.

Link to this section Types

Link to this type

t() View Source
t() :: %Ecto.Adapters.Neo4j.Condition{
  conditions: nil | [Ecto.Adapters.Neo4j.Condition.t()],
  field: atom() | Ecto.Adapters.Neo4j.Query.RelationshipExpr.t(),
  join_operator: :and | :or,
  operator: atom(),
  source: String.t(),
  value: any()
}

Link to this section Functions

Link to this function

join_conditions(condition1, condition2, operator \\ nil) View Source

Join 2 conditions in one with the given operator

Link to this function

stringify_condition(arg1) View Source
stringify_condition(nil | Ecto.Adapters.Neo4j.Condition.t()) :: String.t()

Converts Condition into a string in order to be used in query.