Expand description
Query template parsing and parameter resolution for SQL components.
This module provides parsing of Camel-style SQL templates with parameter placeholders and resolution of those parameters from an Exchange.
Structs§
- Prepared
Query - A fully resolved query ready for execution.
- Query
Template - A parsed query template with fragments and parameter slots.
Enums§
- Param
Slot - A parsed parameter slot in a query template.
Functions§
- is_
select_ query - Returns true if the SQL is a read-only query (SELECT, TABLE, SHOW, EXPLAIN).
- parse_
query_ template - Parses a Camel-style SQL template into fragments and parameter slots.
- resolve_
params - Resolves parameter values from the exchange and builds the final SQL.