api-builder-0.12.0.0: Library for easily building REST API wrappers in Haskell

Safe HaskellSafe
LanguageHaskell2010

Network.API.Builder.Query

Documentation

class ToQuery a where Source #

Minimal complete definition

toQuery

Methods

toQuery :: Text -> a -> [(Text, Text)] Source #

Instances

ToQuery Bool Source # 

Methods

toQuery :: Text -> Bool -> [(Text, Text)] Source #

ToQuery Int Source # 

Methods

toQuery :: Text -> Int -> [(Text, Text)] Source #

ToQuery Integer Source # 

Methods

toQuery :: Text -> Integer -> [(Text, Text)] Source #

ToQuery Text Source # 

Methods

toQuery :: Text -> Text -> [(Text, Text)] Source #

ToQuery a => ToQuery [a] Source # 

Methods

toQuery :: Text -> [a] -> [(Text, Text)] Source #

ToQuery a => ToQuery (Maybe a) Source # 

Methods

toQuery :: Text -> Maybe a -> [(Text, Text)] Source #