pub fn evaluate_default_expression(
expr: &Expression,
) -> Result<SqlValue, ExecutorError>Expand description
Evaluate a DEFAULT expression to get its value Supports literals, special functions (CURRENT_DATE, CURRENT_USER, etc.), sequences, and unary expressions (+val, -val) for numeric defaults Note: For NextValue expressions, this function signature needs database access This will require refactoring to pass db context