pub struct QualifyColumnsOptions {
pub expand_alias_refs: bool,
pub expand_stars: bool,
pub infer_schema: Option<bool>,
pub allow_partial_qualification: bool,
pub dialect: Option<DialectType>,
}Expand description
Options for column qualification
Fields§
§expand_alias_refs: boolWhether to expand references to aliases
expand_stars: boolWhether to expand star expressions to explicit columns
infer_schema: Option<bool>Whether to infer schema if not provided
allow_partial_qualification: boolWhether to allow partial qualification
dialect: Option<DialectType>The dialect for dialect-specific behavior
Implementations§
Source§impl QualifyColumnsOptions
impl QualifyColumnsOptions
Sourcepub fn with_expand_alias_refs(self, expand: bool) -> Self
pub fn with_expand_alias_refs(self, expand: bool) -> Self
Set whether to expand alias refs
Sourcepub fn with_expand_stars(self, expand: bool) -> Self
pub fn with_expand_stars(self, expand: bool) -> Self
Set whether to expand stars
Sourcepub fn with_dialect(self, dialect: DialectType) -> Self
pub fn with_dialect(self, dialect: DialectType) -> Self
Set the dialect
Sourcepub fn with_allow_partial(self, allow: bool) -> Self
pub fn with_allow_partial(self, allow: bool) -> Self
Set whether to allow partial qualification
Trait Implementations§
Source§impl Clone for QualifyColumnsOptions
impl Clone for QualifyColumnsOptions
Source§fn clone(&self) -> QualifyColumnsOptions
fn clone(&self) -> QualifyColumnsOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QualifyColumnsOptions
impl Debug for QualifyColumnsOptions
Source§impl Default for QualifyColumnsOptions
impl Default for QualifyColumnsOptions
Source§fn default() -> QualifyColumnsOptions
fn default() -> QualifyColumnsOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QualifyColumnsOptions
impl RefUnwindSafe for QualifyColumnsOptions
impl Send for QualifyColumnsOptions
impl Sync for QualifyColumnsOptions
impl Unpin for QualifyColumnsOptions
impl UnwindSafe for QualifyColumnsOptions
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
Mutably borrows from an owned value. Read more