8000 updated CHANGELOG · johnrees/arangodb@d53dd11 · GitHub
[go: up one dir, main page]

Skip to content

Commit d53dd11

Browse files
author
Jan Steemann
committed
updated CHANGELOG
1 parent 1913dab commit d53dd11

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,22 @@ v2.6.0 (XXXX-XX-XX)
386386

387387
GRAPH_NEIGHBORS(<graph>, <vertex>, { includeData: true })
388388

389+
* INCOMPATIBLE CHANGE:
390+
391+
The AQL function `GRAPH_COMMON_NEIGHBORS` now provides an additional option `includeData`.
392+
This option allows controlling whether the function should return the complete vertices
393+
or just their IDs. Returning only the IDs instead of the full vertices can lead to
394+
improved performance .
395+
396+
If provided, `includeData` is set to `true`, all vertices in the result will be returned
397+
with all their attributes. The default value of `includeData` is `false`.
398+
This makes the default function results incompatible with previous versions of ArangoDB.
399+
400+
To get the old result style in ArangoDB 2.6, please set the options as follows in calls
401+
to `GRAPH_COMMON_NEIGHBORS`:
402+
403+
GRAPH_COMMON_NEIGHBORS(<graph>, <vertexExamples1>, <vertexExamples2>, { includeData: true }, { includeData: true })
404+
389405
* INCOMPATIBLE CHANGE:
390406

391407
The AQL function `GRAPH_SHORTEST_PATH` now provides an additional option `includeData`.

0 commit comments

Comments
 (0)
0