pub enum IdentCasing {
FoldUnquoted,
FoldAll,
}Expand description
How a dialect folds identifiers for case-insensitive comparison.
SQL unquoted identifiers are case-insensitive, so grad(Temp*Temp, temp)
must match — otherwise it silently differentiates to 0. The exact rule is
per-dialect (F1):
IdentCasing::FoldUnquoted— unquoted identifiers fold to lowercase; quoted identifiers keep their case. (DataFusion, Postgres, the generic dialect.)IdentCasing::FoldAll— all identifiers fold to lowercase, quoted included. (DuckDB, which is fully case-insensitive.)
Variants§
FoldUnquoted
Fold unquoted identifiers only (DataFusion / Postgres / generic).
FoldAll
Fold every identifier, quoted included (DuckDB).
Implementations§
Trait Implementations§
Source§impl Clone for IdentCasing
impl Clone for IdentCasing
Source§fn clone(&self) -> IdentCasing
fn clone(&self) -> IdentCasing
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IdentCasing
Source§impl Debug for IdentCasing
impl Debug for IdentCasing
impl Eq for IdentCasing
Source§impl PartialEq for IdentCasing
impl PartialEq for IdentCasing
impl StructuralPartialEq for IdentCasing
Auto Trait Implementations§
impl Freeze for IdentCasing
impl RefUnwindSafe for IdentCasing
impl Send for IdentCasing
impl Sync for IdentCasing
impl Unpin for IdentCasing
impl UnsafeUnpin for IdentCasing
impl UnwindSafe for IdentCasing
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