Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit 49289d7

Browse files
committed
Fix code
1 parent 2232d13 commit 49289d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

3.12/aql/execution-and-performance-optimizer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ applied multiple times at different optimization stages.
506506
var url = "/_api/query/rules";
507507
var rules = internal.arango.GET(url);
508508
assert(Array.isArray(rules));
509-
assert(rules.some(e => e.clusterOnly));
509+
assert(rules.some(e => e.flags && e.flags.clusterOnly));
510510
var outfile = "Documentation/optimizer-rules.json"
511511
assert(fs.write(outfile, JSON.stringify(rules, undefined, 2)));
512512
@END_EXAMPLE_ARANGOSH_RUN

0 commit comments

Comments
 (0)