Selecto.SetOperations.Spec (Selecto v0.3.8)

Specification for a set operation between two or more queries.

Link to this section Summary

Link to this section Types

Link to this type

operation_options()

@type operation_options() :: %{
  all: boolean(),
  column_mapping: [{String.t(), String.t()}] | nil
}
Link to this type

set_operation()

@type set_operation() :: :union | :intersect | :except
@type t() :: %Selecto.SetOperations.Spec{
  column_mapping: [{String.t(), String.t()}] | nil,
  id: String.t(),
  left_query: Selecto.t(),
  operation: set_operation(),
  options: operation_options(),
  right_query: Selecto.t(),
  validated: boolean()
}