Merge pull request #11495 from intrigus-lgtm/patch-7

Docs: Add missing `language[monotonicAggregates]` annotation
This commit is contained in:
Anders Schack-Mulligen
2022-11-30 14:58:44 +01:00
committed by GitHub

View File

@@ -602,6 +602,7 @@ the distance of a node in a graph from the leaves as follows:
.. code-block:: ql
language[monotonicAggregates]
int depth(Node n) {
if not exists(n.getAChild())
then result = 0