Skip to main content

Module select

Module select 

Source
Expand description

SELECT query planning: FROM → WHERE → GROUP BY → HAVING → SELECT → ORDER BY → LIMIT.

This is the main entry point for SELECT statement conversion. It detects search patterns (vector, text, hybrid, spatial) directly from the AST instead of reverse-engineering an optimizer’s output.

Functions§

convert_projection
Convert SELECT projection items.
convert_where_to_filters
Convert a WHERE expression into a list of Filter.
plan_query
Plan a SELECT query.
qualified_name
Build a qualified column reference (table.name or just name).