Selecto.Advanced.CTE.Spec (Selecto v0.3.8)

Specification for Common Table Expression definitions.

Link to this section Summary

Link to this section Types

@type cte_type() :: :normal | :recursive
@type t() :: %Selecto.Advanced.CTE.Spec{
  base_query: (-> struct()) | nil,
  columns: [String.t()] | nil,
  dependencies: [String.t()],
  id: String.t(),
  name: String.t(),
  query_builder: (-> struct()) | nil,
  recursive_query: (struct() -> struct()) | nil,
  type: cte_type(),
  validated: boolean()
}