Enum prql_compiler::sql::Dialect
source · pub enum Dialect {
Ansi,
BigQuery,
ClickHouse,
DuckDb,
Generic,
MsSql,
MySql,
Postgres,
SQLite,
Snowflake,
}
Expand description
SQL dialect.
This only changes the output for a relatively small subset of features.
If something does not work in a specific dialect, please raise in a GitHub issue.
Variants§
Implementations§
source§impl Dialect
impl Dialect
pub fn support_level(&self) -> SupportLevel
pub fn names() -> &'static [&'static str]
👎Deprecated: Use
Dialect::VARIANTS
insteadTrait Implementations§
source§impl<'de> Deserialize<'de> for Dialect
impl<'de> Deserialize<'de> for Dialect
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl EnumMessage for Dialect
impl EnumMessage for Dialect
fn get_message(&self) -> Option<&'static str>
fn get_detailed_message(&self) -> Option<&'static str>
source§fn get_documentation(&self) -> Option<&'static str>
fn get_documentation(&self) -> Option<&'static str>
Get the doc comment associated with a variant if it exists.
fn get_serializations(&self) -> &'static [&'static str]
source§impl PartialEq<Dialect> for Dialect
impl PartialEq<Dialect> for Dialect
source§impl VariantNames for Dialect
impl VariantNames for Dialect
impl Copy for Dialect
impl Eq for Dialect
impl StructuralEq for Dialect
impl StructuralPartialEq for Dialect
Auto Trait Implementations§
impl RefUnwindSafe for Dialect
impl Send for Dialect
impl Sync for Dialect
impl Unpin for Dialect
impl UnwindSafe for Dialect
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