napkin-spec-2.0.0
Safe HaskellNone
LanguageGHC2024

Napkin.Parse.SimpleSqlParser.Dialect

Synopsis

Documentation

addHashComments :: Dialect -> Dialect #

BigQuery and MsSQL inline comments can also be specified by # character in addition to "--" and "*" .. "*" blocks

data Dialect #

Instances

Instances details
Data Dialect 
Instance details

Defined in Language.SQL.SimpleSQL.Dialect

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Dialect -> c Dialect #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Dialect #

toConstr :: Dialect -> Constr #

dataTypeOf :: Dialect -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Dialect) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Dialect) #

gmapT :: (forall b. Data b => b -> b) -> Dialect -> Dialect #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Dialect -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Dialect -> r #

gmapQ :: (forall d. Data d => d -> u) -> Dialect -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Dialect -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Dialect -> m Dialect #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Dialect -> m Dialect #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Dialect -> m Dialect #

Generic Dialect 
Instance details

Defined in Language.SQL.SimpleSQL.Dialect

Associated Types

type Rep Dialect 
Instance details

Defined in Language.SQL.SimpleSQL.Dialect

type Rep Dialect = D1 ('MetaData "Dialect" "Language.SQL.SimpleSQL.Dialect" "simple-sql-parser-0.6.0-CsXb0C8rodd6Lx5jR4hkwH" 'False) (C1 ('MetaCons "Dialect" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "diKeywords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TextSet) :*: (S1 ('MetaSel ('Just "diName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "diIdentifierKeywords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TextSet))) :*: (S1 ('MetaSel ('Just "diAppKeywords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TextSet) :*: (S1 ('MetaSel ('Just "diSpecialTypeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "diFetchFirst") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "diLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "diTableCaseEquality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CaseEquality)) :*: S1 ('MetaSel ('Just "diDefaultStringQuotation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StrLitFmt))) :*: (S1 ('MetaSel ('Just "diDefaultIdenQuotation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StrLitFmt) :*: (S1 ('MetaSel ('Just "diCastStringToIden") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StrLitFmt)) :*: S1 ('MetaSel ('Just "diRawStrings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QuotationRuleIndex))))) :*: (((S1 ('MetaSel ('Just "diIdenQuotation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QuotationRuleIndex) :*: (S1 ('MetaSel ('Just "diPositionalArg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "diPostgresSymbols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just "diSqlServerSymbols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "diTrimRegularFunction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "diExceptColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "diSafeCast") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "diStruct") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "diArray") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "diWeekExtract") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "diUnnest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "diAggregateLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "diTableAsteriskSuffix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))))

Methods

from :: Dialect -> Rep Dialect x #

to :: Rep Dialect x -> Dialect #

Read Dialect 
Instance details

Defined in Language.SQL.SimpleSQL.Dialect

Show Dialect 
Instance details

Defined in Language.SQL.SimpleSQL.Dialect

Eq Dialect 
Instance details

Defined in Language.SQL.SimpleSQL.Dialect

Methods

(==) :: Dialect -> Dialect -> Bool #

(/=) :: Dialect -> Dialect -> Bool #

type Rep Dialect 
Instance details

Defined in Language.SQL.SimpleSQL.Dialect

type Rep Dialect = D1 ('MetaData "Dialect" "Language.SQL.SimpleSQL.Dialect" "simple-sql-parser-0.6.0-CsXb0C8rodd6Lx5jR4hkwH" 'False) (C1 ('MetaCons "Dialect" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "diKeywords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TextSet) :*: (S1 ('MetaSel ('Just "diName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "diIdentifierKeywords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TextSet))) :*: (S1 ('MetaSel ('Just "diAppKeywords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TextSet) :*: (S1 ('MetaSel ('Just "diSpecialTypeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "diFetchFirst") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "diLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "diTableCaseEquality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe CaseEquality)) :*: S1 ('MetaSel ('Just "diDefaultStringQuotation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StrLitFmt))) :*: (S1 ('MetaSel ('Just "diDefaultIdenQuotation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 StrLitFmt) :*: (S1 ('MetaSel ('Just "diCastStringToIden") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe StrLitFmt)) :*: S1 ('MetaSel ('Just "diRawStrings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QuotationRuleIndex))))) :*: (((S1 ('MetaSel ('Just "diIdenQuotation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 QuotationRuleIndex) :*: (S1 ('MetaSel ('Just "diPositionalArg") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "diPostgresSymbols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: (S1 ('MetaSel ('Just "diSqlServerSymbols") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "diTrimRegularFunction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "diExceptColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "diSafeCast") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "diStruct") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "diArray") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) :*: ((S1 ('MetaSel ('Just "diWeekExtract") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "diUnnest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "diAggregateLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "diTableAsteriskSuffix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))))))