Filter Expressions

This guide explains the usage of filter expressions.

Filter expressions are applied in the following scenarios:

There are two types of filter expressions:

These filter expressions will evaluate to true if the current edge or vertex matches the expression or to false if it does not. Filter expressions are stateless and side-effect free.

The following short example below will evaluate to true for all edges where the source vertex’s string property name is “PGX”.

src.name="PGX"