SelectoComponents.Execution.Plan (selecto_components v0.4.8)

Non-I/O execution planning for SelectoComponents.

This module turns runtime params plus socket state into an execution-ready plan that can be inspected and tested independently from query execution.

Link to this section Summary

Link to this section Types

@type t() :: %SelectoComponents.Execution.Plan{
  columns_list: term(),
  columns_map: term(),
  filtered: term(),
  params: term(),
  presentation_context: term(),
  selected_view: term(),
  selecto: term(),
  view_meta: term(),
  view_set: term(),
  view_tuple: term()
}

Link to this section Functions

Link to this function

build(params, socket)

@spec build(map(), Phoenix.LiveView.Socket.t()) :: t()