Query Clauses
In this chapter, we mainly introduce NeuG query-related Clauses operations. The following table summarizes the types and general purposes of these operations:
| Clause | Description |
|---|---|
| MATCH | Find Graph Pattern |
| WHERE | Filter based on properties |
| WITH | Projection or Aggregation based on properties |
| RETURN | Output Projection or Aggregation results |
| ORDER | Further sort intermediate or output results |
| SKIP | Skip the top portion of results, determine the lower bound of output results |
| LIMIT | Truncate results, determine the upper bound of output results |
| UNION | Merge multiple branch results with consistent schema |
We will use the modern graph as an example to introduce what each Clause specifically does.