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

Specification for array operations in SELECT, WHERE, and other clauses.

Link to this section Summary

Link to this section Types

Link to this type

operation_type()

@type operation_type() ::
  :array_agg
  | :array_agg_distinct
  | :string_agg
  | :array_contains
  | :array_contained
  | :array_overlap
  | :array_eq
  | :array_length
  | :cardinality
  | :array_ndims
  | :array_dims
  | :array
  | :array_fill
  | :array_append
  | :array_prepend
  | :array_cat
  | :array_position
  | :array_positions
  | :array_remove
  | :array_replace
  | :unnest
  | :array_to_string
  | :string_to_array
  | :array_union
  | :array_intersect
  | :array_except
@type t() :: %Selecto.Advanced.ArrayOperations.Spec{
  alias: String.t() | nil,
  column: String.t() | tuple(),
  dimension: integer() | nil,
  distinct: boolean(),
  id: String.t(),
  operation: operation_type(),
  options: map(),
  order_by: list() | nil,
  validated: boolean(),
  value: term() | nil
}