Expand description
Query analysis and bounded dialect preparation.
Dactyl uses a total lexical scanner rather than pretending to be a full SQL parser. It rejects constructs that cannot be translated safely and applies only explicit, semantics-bounded rewrites when the caller enables them.
Structs§
- Analyzed
- Outcome of analyzing a query without selecting an adapter.
- Query
Analyzer - The analyzer. Cheap to construct; carries no state.
Enums§
- Construct
- A single dialect-specific construct the analyzer found in a query.
- Dialect
- SQL dialect an adapter speaks natively.
- Rewrite
- A no-op or directive-stripping rewrite plan.
Functions§
- dialect_
of - Map a datastore name to its native dialect.
- first_
unsupported - Decide whether the construct list is portable enough for the active dialect.