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.

Re-exports§

pub use helpers::convert_projection;
pub use helpers::convert_where_to_filters;
pub use helpers::extract_float;
pub use helpers::extract_func_args;
pub use helpers::extract_string_literal;
pub use helpers::qualified_name;

Modules§

helpers
Shared helpers for SELECT planning: projection conversion, WHERE filter conversion, and AST literal extraction utilities.

Functions§

plan_query
Plan a SELECT query.