Keywords
count
We’re overhauling Dgraph’s docs to make them clearer and more approachable. If you notice any issues during this transition or have suggestions, please let us know.
Syntax Examples:
count(predicate)
count(uid)
The form count(predicate)
counts how many predicate
edges lead out of a
node.
The form count(uid)
counts the number of UIDs matched in the enclosing block.
Query Example: the number of films acted in by each actor with Orlando
in
their name.
Was this page helpful?