View Source Ravix.RQL.Tokens.Condition (ravix v0.0.3)

Link to this section Summary

Link to this section Types

@type t() :: %Ravix.RQL.Tokens.Condition{
  field: String.t() | t(),
  params: list(),
  token: atom()
}

Link to this section Functions

Link to this function

between(field_name, values)

View Source
@spec between(String.t(), any()) :: t()
Link to this function

equal_to(field_name, value)

View Source
@spec equal_to(String.t(), any()) :: t()
Link to this function

greater_than(field_name, value)

View Source
@spec greater_than(String.t(), any()) :: t()
Link to this function

greater_than_or_equal_to(field_name, value)

View Source
@spec greater_than_or_equal_to(String.t(), any()) :: t()
@spec in?(String.t(), any()) :: t()
Link to this function

lower_than(field_name, value)

View Source
@spec lower_than(String.t(), any()) :: t()
Link to this function

lower_than_or_equal_to(field_name, value)

View Source
@spec lower_than_or_equal_to(String.t(), any()) :: t()
Link to this function

not_equal_to(field_name, value)

View Source
@spec not_equal_to(String.t(), any()) :: t()
Link to this function

not_in(field_name, values)

View Source
@spec not_in(String.t(), any()) :: t()