Skip to content

Commit

Permalink
Show isolated nodes in 'SELECT *' (#16)
Browse files Browse the repository at this point in the history
* Show isolated nodes in 'SELECT *'

* Self-review
  • Loading branch information
QubitPi committed Nov 22, 2023
1 parent 2cb1008 commit f743b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/modules/DBMSInfo/MetaItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const LabelItems = ({
if (labels.length) {
const editorCommandTemplate = (text: any, i: any) => {
if (i === 0) {
return 'MATCH (n)-[r]->(m) RETURN r, m, n'
return 'MATCH (n)-[r]->(m) MATCH (isolatedNode) RETURN r, m, n, isolatedNode'
}
return `MATCH (n:${escapeCypherIdentifier(text)}) RETURN n LIMIT 25`
}
Expand Down

0 comments on commit f743b33

Please sign in to comment.