Open
Description
formatQuery
returns a ByteString
which is meant to be printed out (debugging, logging, etc...) but the character encoding is not specified. I assume it's UTF-8, but it'd be good to clarify that in the docs. (Or alternatively, return Text
).
formatQuery :: ToRow q => Connection -> Query -> q -> IO ByteString