Skip to content

Commit 7384592

Browse files
ginsbachjbj
andauthored
Update docs/language/ql-handbook/expressions.rst
Co-Authored-By: Jonas Jensen <[email protected]>
1 parent 90b82a0 commit 7384592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/language/ql-handbook/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ The following aggregates are available in QL:
292292

293293
from int x
294294
where x in [-5 .. 5] and x != 0
295-
select unique(int y | y = x and y = x.abs() | y)
295+
select unique(int y | y = x or y = x.abs() | y)
296296

297297
The ``unique`` aggregate is supported from release 2.1.0 of the CodeQL CLI, and release 1.24 of LGTM Enterprise.
298298

0 commit comments

Comments
 (0)