View Source Vectorex.Subquery (vectorex v0.1.0)

Summary

Functions

Creates a new Vectorex.Subquery instance

Adds a AND clause.

Adds a FOLLOWED BY clause.

Adds a NOT clause.

Adds a OR clause.

Types

@type t() :: %Vectorex.Subquery{
  params: [{atom(), String.t()}] | [{atom(), t()}] | [String.t()]
}

Functions

Creates a new Vectorex.Subquery instance

@spec ts_and(vector :: t(), params :: [String.t()] | String.t() | t() | [t()]) :: t()

Adds a AND clause.

If the operator is supported by the text search control, the parameter is applied to the builder. If not the parameter is ignored.

Link to this function

ts_followed_by(vector, params)

View Source
@spec ts_followed_by(vector :: t(), params :: [String.t()] | String.t() | t() | [t()]) ::
  t()

Adds a FOLLOWED BY clause.

If the operator is supported by the text search control, the parameter is applied to the builder. If not the parameter is ignored.

@spec ts_not(vector :: t(), params :: [String.t()] | String.t() | t() | [t()]) :: t()

Adds a NOT clause.

If the operator is supported by the text search control, the parameter is applied to the builder. If not the parameter is ignored.

@spec ts_or(vector :: t(), params :: [String.t()] | String.t() | t() | [t()]) :: t()

Adds a OR clause.

If the operator is supported by the text search control, the parameter is applied to the builder. If not the parameter is ignored.