Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions pages/querying/differences-in-cypher-implementations.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,6 @@ RETURN val, valueType(val) = "INTEGER"
- `exists(n.property)` - can be expressed using `n.property IS NOT NULL`
- `isEmpty()`

**Scalar functions**:

- `nullIf()`

**Aggregating functions**:

- `percentileCont()`, `percentileDisc()`
Expand Down
1 change: 1 addition & 0 deletions pages/querying/functions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ This section contains the list of supported functions.
| `elementId` | `elementId(value: Node\|Relationship) -> (string)` | Returns the identifier for a given node or relationship as a string. The identifier is the same as the one returned by `id()`. |
| `last` | `last(list: List[any]) -> (any)` | Returns the last element of a list. |
| `length` | `length(value: List\|string\|Map\|Path) -> (integer)` | Returns the number of elements in the value. When given a **list** it returns the size of the list. When given a string it returns the number of characters. When given a path it returns the number of expansions (relationships) in that path. |
| `nullIf` | `nullIf(value1: any, value2: any) -> (any)` | Returns `null` if the two arguments are equal, and the first argument otherwise. The arguments are compared as the `=` operator compares them, so a comparison that involves a `null` is undecided and the first argument is returned. |
| `properties` | `properties(value: Node\|Relationship) -> (Map[string, any])` | Returns the property map of a node or a relationship. |
| `propertySize` | `propertySize(entity: Node\|Relationship, property-name: string) -> (integer)` | Returns the total amount of bytes stored in RAM for the property of a given entity node or relationship. For more information, check [storage of properties inside Memgraph](/fundamentals/storage-memory-usage#calculate-storage-memory-usage). |
| `randomUUID` | `randomUUID() -> (string)` | Returns randomly-generated Universally Unique Identifier (UUID) |
Expand Down