View Source Ravix.RQL.Query (ravix v0.0.2)
Detructurized Raven Query Language structure
Link to this section Summary
Functions
Adds a Ravix.RQL.Tokens.And
to the query
Delete all the documents that matches the informed query
Adds a Ravix.RQL.Tokens.From
to the query
Adds a Ravix.RQL.Tokens.From
to the query with an alias
Executes a list query in the informed session
Adds a Ravix.RQL.Tokens.Or
to the query
Create a Query using a raw RQL string
Create a Query using a raw RQL string with parameters
Adds a Ravix.RQL.Tokens.Update
to the query
Updates all the documents that matches the informed query
Adds a Ravix.RQL.Tokens.Where
to the query
Link to this section Types
@type t() :: %Ravix.RQL.Query{ aliases: map(), and_tokens: [Ravix.RQL.Tokens.And.t()], from_token: Ravix.RQL.Tokens.From.t() | nil, is_raw: boolean(), limit_token: Ravix.RQL.Tokens.Limit.t() | nil, or_tokens: [Ravix.RQL.Tokens.Or.t()], params_count: non_neg_integer(), projection_token: any(), query_params: map(), query_string: String.t(), update_token: Ravix.RQL.Tokens.Update.t() | nil, where_token: Ravix.RQL.Tokens.Where.t() | nil }
Link to this section Functions
@spec and?(t(), Ravix.RQL.Tokens.Condition.t()) :: t()
Adds a Ravix.RQL.Tokens.And
to the query
Delete all the documents that matches the informed query
Adds a Ravix.RQL.Tokens.From
to the query
Adds a Ravix.RQL.Tokens.From
to the query with an alias
@spec limit(t(), non_neg_integer(), non_neg_integer()) :: t()
Executes a list query in the informed session
@spec or?(t(), Ravix.RQL.Tokens.Condition.t()) :: t()
Adds a Ravix.RQL.Tokens.Or
to the query
Create a Query using a raw RQL string
Create a Query using a raw RQL string with parameters
Adds a Ravix.RQL.Tokens.Update
to the query
Updates all the documents that matches the informed query
@spec where(t(), Ravix.RQL.Tokens.Condition.t()) :: t()
Adds a Ravix.RQL.Tokens.Where
to the query