Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype QueryRender a = QueryRender {
- runQueryRender :: a -> Query
- escapeBracketComponent :: Text -> ByteString
- escapeRawComponent :: Text -> ByteString
- addBracked :: Text -> ByteString -> ByteString
- addArray :: ByteString -> ByteString
- renderQueryAtKeyWith :: (forall jsonSerializer. JSONSerializer jsonSerializer => jsonSerializer a) -> Text -> a -> Query
- renderQueryAtKey :: ToJSON a => Text -> a -> Query
Documentation
newtype QueryRender a Source #
QueryRender | |
|
Instances
escapeRawComponent :: Text -> ByteString Source #
addBracked :: Text -> ByteString -> ByteString Source #
addArray :: ByteString -> ByteString Source #
:: (forall jsonSerializer. JSONSerializer jsonSerializer => jsonSerializer a) | Query renderer to use. |
-> Text | Base key |
-> a | Value to serialize |
-> Query | Query |