Safe Haskell | None |
---|---|
Language | Haskell2010 |
Print the types in Syntax as valid SQL. The emphasis is on queries to send to the database, not on legibilty; no extra whitespace is introduced.
Documentation
doubleQuote :: Builder -> Builder Source #
spaceAfter :: Builder -> Builder Source #
class FormatSql a where Source #
Nothing
Instances
formatAsString :: FormatSql a => a -> String Source #
formatAsByteString :: FormatSql a => a -> ByteString Source #
formatAsText :: FormatSql a => a -> Text Source #
fmtIndirections :: Foldable f => f Indirection -> Builder Source #
Instances
Bounded Assoc Source # | |
Enum Assoc Source # | |
Defined in Preql.QuasiQuoter.Syntax.Printer | |
Eq Assoc Source # | |
Data Assoc Source # | |
Defined in Preql.QuasiQuoter.Syntax.Printer gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Assoc -> c Assoc # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Assoc # dataTypeOf :: Assoc -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Assoc) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Assoc) # gmapT :: (forall b. Data b => b -> b) -> Assoc -> Assoc # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Assoc -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Assoc -> r # gmapQ :: (forall d. Data d => d -> u) -> Assoc -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Assoc -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Assoc -> m Assoc # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Assoc -> m Assoc # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Assoc -> m Assoc # | |
Show Assoc Source # | |
Generic Assoc Source # | |
Lift Assoc Source # | |
type Rep Assoc Source # | |
Defined in Preql.QuasiQuoter.Syntax.Printer type Rep Assoc = D1 ('MetaData "Assoc" "Preql.QuasiQuoter.Syntax.Printer" "preql-0.5-FdfxHOOmFuA1g6eoMjPSbJ" 'False) (C1 ('MetaCons "LeftAssoc" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "RightAssoc" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NonAssoc" 'PrefixI 'False) (U1 :: Type -> Type))) |