Skip to content
# Interface: ParameterConditionOptimizationOptions

Defined in: packages/core/src/transformers/ParameterConditionPlacementOptimizer.ts:65

First-phase safe-only placement for ordinary parameter predicates.

The optimizer intentionally handles only root top-level AND predicates and one CTE/derived-table hop where the destination output is a direct column reference. Unsupported boundaries such as OR, DISTINCT ON, WINDOW, OUTER JOIN, expression outputs, and function predicates are reported as skipped.

Extends ​

Extended by ​

Properties ​

dryRun? ​

optional dryRun: boolean

Defined in: packages/core/src/transformers/ParameterConditionPlacementOptimizer.ts:66


cloneInput? ​

optional cloneInput: boolean

Defined in: packages/core/src/transformers/ParameterConditionPlacementOptimizer.ts:72

Whether AST/model inputs should be cloned before optimization. Defaults to true for public-call safety. Internal pipelines can pass false when they own the model and want to avoid AST -> SQL -> AST round trips.


formatter? ​

optional formatter: SqlComponentFormatter

Defined in: packages/core/src/transformers/SqlComponentFormatter.ts:10

Inherited from ​

SqlComponentFormatOptions.formatter


formatOptions? ​

optional formatOptions: SqlFormatterOptions

Defined in: packages/core/src/transformers/SqlComponentFormatter.ts:11

Inherited from ​

SqlComponentFormatOptions.formatOptions

Released under the MIT License.