Closed
Description
for example, if I enter something like this
func = do
r <- withPG $ \con -> query con [sql|
select codes.user_id, aps.client_id
from authorization_codes as codes inner join applications as aps on codes.application_id = aps.id
where codes.access_token = ? and (codes.expires > now() or codes.expires is null)|]
[token]
doSomething -- Indentation broken from this line with "parser error" message
doMore
quasi quotes must be considered as strings, but they are considered as usual Haskell code. Maybe you can suggest how to solve it? I hope it is not very hard to solve this.
Metadata
Metadata
Assignees
Labels
No labels