Skip to content

Commit

Permalink
Merge pull request #165 from oskarhane/show-index-in-indexseek
Browse files Browse the repository at this point in the history
Display index used in query plan
  • Loading branch information
pe4cey committed May 16, 2016
2 parents 260f158 + 482ff6e commit bfaa764
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/scripts/services/Bolt.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ angular.module('neo4jApp.services')
Rows: plan.rows,
EstimatedRows: plan.arguments.EstimatedRows,
identifiers: plan.identifiers,
Index: plan.arguments.Index,
children: plan.children.map boltPlanToRESTPlanShared
}

Expand Down
4 changes: 4 additions & 0 deletions lib/visualization/components/queryPlan.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ neo.queryPlan = (element)->
wordWrap(identifiers.filter((d) -> not (/^ /.test(d))).join(', '), 'identifiers')
details.push { className: 'padding' }

if index = operator.Index
wordWrap(index, 'index')
details.push { className: 'padding' }

if expression = operator.LegacyExpression ? operator.ExpandExpression ? operator.LabelName
wordWrap(expression, 'expression')
details.push { className: 'padding' }
Expand Down

0 comments on commit bfaa764

Please sign in to comment.