SQLQueryTranslator
classin packageklyn.data.sql.internal
public final class SQLQueryTranslator<T, TId>:
SQLQueryTranslator

Strict lowering from canonical QIR to the provider-local SQL AST.

Unsupported operations fail here and are never evaluated silently in memory. All column references are resolved through the validated mapping.

Example
translation = SQLQueryTranslator<User, Int>(mapping).translate(qir)
Constructors
Modifier and Type Member Description
public SQLQueryTranslator
SQLQueryTranslator(mapping as SQLMapping<T, TId>):
Creates a translator bound to one immutable entity mapping.
Methods
Modifier and Type Member Description
public translate
translate(plan as QirQueryPlan) as SQLQueryTranslation:
Lowers one complete canonical query or raises before SQL execution.