mirror of https://gitee.com/bigwinds/arangodb
21 lines
793 B
Plaintext
21 lines
793 B
Plaintext
arangosh> var query = "FOR doc IN mycollection FILTER doc.value > 42 RETURN doc";
|
|
arangosh> require("@arangodb/aql/explainer").explain(query, {colors:false});
|
|
Query String (56 chars, cacheable: true):
|
|
FOR doc IN mycollection FILTER doc.value > 42 RETURN doc
|
|
|
|
Execution plan:
|
|
Id NodeType Est. Comment
|
|
1 SingletonNode 1 * ROOT
|
|
2 EnumerateCollectionNode 302 - FOR doc IN mycollection /* full collection scan */
|
|
3 CalculationNode 302 - LET #1 = (doc.`value` > 42) /* simple expression */ /* collections used: doc : mycollection */
|
|
4 FilterNode 302 - FILTER #1
|
|
5 ReturnNode 302 - RETURN doc
|
|
|
|
Indexes used:
|
|
none
|
|
|
|
Optimization rules applied:
|
|
none
|
|
|
|
|