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.nameor justname).