Update docs/codeql/ql-language-reference/expressions.rst

Co-authored-by: hubwriter <hubwriter@github.com>
This commit is contained in:
Shati Patel
2021-01-05 13:53:19 +00:00
committed by GitHub
parent ff8e9e6adf
commit 929c007e5d

View File

@@ -418,7 +418,7 @@ aggregation in a simpler form:
count(int i | i = "hello".indexOf("l") | i)
count("hello".indexOf("l"))
#. If there only one aggregation variable, you can omit the ``<expression>`` part instead.
#. If there is only one aggregation variable, you can omit the ``<expression>`` part instead.
In this case, the expression is considered to be the aggregation variable itself.
For example, the following aggregations are equivalent: