Skip to content

Commit bfaa764

Browse files
committed
Merge pull request #165 from oskarhane/show-index-in-indexseek
Display index used in query plan
2 parents 260f158 + 482ff6e commit bfaa764

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

app/scripts/services/Bolt.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ angular.module('neo4jApp.services')
354354
Rows: plan.rows,
355355
EstimatedRows: plan.arguments.EstimatedRows,
356356
identifiers: plan.identifiers,
357+
Index: plan.arguments.Index,
357358
children: plan.children.map boltPlanToRESTPlanShared
358359
}
359360

lib/visualization/components/queryPlan.coffee

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ neo.queryPlan = (element)->
104104
wordWrap(identifiers.filter((d) -> not (/^ /.test(d))).join(', '), 'identifiers')
105105
details.push { className: 'padding' }
106106

107+
if index = operator.Index
108+
wordWrap(index, 'index')
109+
details.push { className: 'padding' }
110+
107111
if expression = operator.LegacyExpression ? operator.ExpandExpression ? operator.LabelName
108112
wordWrap(expression, 'expression')
109113
details.push { className: 'padding' }

0 commit comments

Comments
 (0)