Skip to main content

nodedb_sql/optimizer/
constant_fold.rs

1// SPDX-License-Identifier: Apache-2.0
2
3//! Constant folding: evaluate constant expressions at plan time.
4//!
5//! Examples: `1 + 2` → `3`, `WHERE 1 = 1` → remove filter.
6//! Currently a placeholder — the Data Plane handles expression evaluation.