pub fn with_settings<T>(
settings: ParserSettings,
compile: impl FnOnce() -> Result<T, SQLError>,
) -> (Result<T, SQLError>, ParserMetadata)Expand description
Compile synchronously under captured scanner settings. This scope ends before execution; nested routine compilation obtains fresh settings from its live session after applying the routine’s own SET clauses.