pub struct ExecutionConfig {
pub show_preprocessing: bool,
pub show_sql_transformations: bool,
pub case_insensitive: bool,
pub auto_hide_empty: bool,
pub transformer_config: TransformerConfig,
pub debug_trace: bool,
}Expand description
Configuration for statement execution
Controls preprocessing, case sensitivity, and other execution behaviors
Fields§
§show_preprocessing: boolWhether to show preprocessing transformations (debug output)
show_sql_transformations: boolWhether to show SQL before/after each transformation (formatted SQL output)
case_insensitive: boolWhether to use case-insensitive comparison
auto_hide_empty: boolWhether to automatically hide empty columns
transformer_config: TransformerConfigConfiguration for AST transformers (preprocessing pipeline)
debug_trace: boolWhether to enable debug tracing during execution
Implementations§
Source§impl ExecutionConfig
impl ExecutionConfig
Sourcepub fn with_show_preprocessing(self, show: bool) -> Self
pub fn with_show_preprocessing(self, show: bool) -> Self
Enable preprocessing debug output
Sourcepub fn with_show_sql_transformations(self, show: bool) -> Self
pub fn with_show_sql_transformations(self, show: bool) -> Self
Enable SQL transformation output (show before/after SQL for each transformer)
Sourcepub fn with_case_insensitive(self, insensitive: bool) -> Self
pub fn with_case_insensitive(self, insensitive: bool) -> Self
Enable case-insensitive comparison
Sourcepub fn with_auto_hide_empty(self, hide: bool) -> Self
pub fn with_auto_hide_empty(self, hide: bool) -> Self
Enable automatic hiding of empty columns
Sourcepub fn with_transformer_config(self, config: TransformerConfig) -> Self
pub fn with_transformer_config(self, config: TransformerConfig) -> Self
Set transformer configuration
Sourcepub fn with_debug_trace(self, trace: bool) -> Self
pub fn with_debug_trace(self, trace: bool) -> Self
Enable debug tracing
Sourcepub fn without_preprocessing(self) -> Self
pub fn without_preprocessing(self) -> Self
Disable all preprocessing transformers
Sourcepub fn from_cli_flags(
show_preprocessing: bool,
show_sql_transformations: bool,
case_insensitive: bool,
auto_hide_empty: bool,
no_expression_lifter: bool,
no_where_expansion: bool,
no_group_by_expansion: bool,
no_having_expansion: bool,
no_order_by_expansion: bool,
no_qualify_to_where: bool,
no_cte_hoister: bool,
no_in_lifter: bool,
debug_trace: bool,
) -> Self
pub fn from_cli_flags( show_preprocessing: bool, show_sql_transformations: bool, case_insensitive: bool, auto_hide_empty: bool, no_expression_lifter: bool, no_where_expansion: bool, no_group_by_expansion: bool, no_having_expansion: bool, no_order_by_expansion: bool, no_qualify_to_where: bool, no_cte_hoister: bool, no_in_lifter: bool, debug_trace: bool, ) -> Self
Create config from command-line flags (helper for non_interactive.rs)
Trait Implementations§
Source§impl Clone for ExecutionConfig
impl Clone for ExecutionConfig
Source§fn clone(&self) -> ExecutionConfig
fn clone(&self) -> ExecutionConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ExecutionConfig
impl Debug for ExecutionConfig
Auto Trait Implementations§
impl Freeze for ExecutionConfig
impl RefUnwindSafe for ExecutionConfig
impl Send for ExecutionConfig
impl Sync for ExecutionConfig
impl Unpin for ExecutionConfig
impl UnwindSafe for ExecutionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more