Enum prql_compiler::sql::Dialect
source · pub enum Dialect {
Ansi,
BigQuery,
ClickHouse,
DuckDb,
Generic,
Hive,
MsSql,
MySql,
PostgreSql,
SQLite,
Snowflake,
}
Expand description
SQL dialect.
This is 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§
Trait 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
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.