SelectoComponents.Form.EventHandlers.QueryOperations (selecto_components v0.4.5)

Event handlers for query execution and result operations.

This module handles operations related to query execution, results handling, and result manipulation:

  • Sorting query results
  • Pagination (detail view pages)
  • Query result updates
  • URL parameter routing (handle_params)

imported-by

Imported by

This module is automatically imported when using SelectoComponents.Form.

info-messages-handled

Info Messages Handled

  • {:rerun_query_with_sort, sort_by} - Re-execute query with sorting
  • {:update_detail_page, page} - Update detail view pagination
  • {:query_executed, query_info} - Handle completed query execution
  • {:update_view_config, updated_config} - Update view configuration
  • {:filters_updated, updated_filters} - Update filters without execution

callbacks-handled

Callbacks Handled

  • handle_params/3 - Route URL parameters to appropriate handlers