Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 041be0b

Browse files
authored
Fix exists parser (#25)
1 parent a2ed763 commit 041be0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SqlSquared/Parser.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ unaryOperator = PC.try do
425425
<|> (operator "+" $> Sig.Positive)
426426
<|> (keyword "distinct" $> Sig.Distinct)
427427
<|> (keyword "not" $> Sig.Not)
428-
<|> (keyword "exists" $> Sig.Distinct)
428+
<|> (keyword "exists" $> Sig.Exists)
429429
e ← primaryExpression
430430
pure $ embed $ Sig.Unop { op, expr: e}
431431

0 commit comments

Comments
 (0)