From e64f3e984f8dac7c2bc3e533ff2fadb6aef601e8 Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 25 Oct 2023 12:01:17 +0800 Subject: [PATCH] Fetch both nodes and links unlimited in initial graph rendering (#14) --- src/browser/modules/DBMSInfo/MetaItems.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/modules/DBMSInfo/MetaItems.tsx b/src/browser/modules/DBMSInfo/MetaItems.tsx index 9c3c2d9534e..33cd6222079 100644 --- a/src/browser/modules/DBMSInfo/MetaItems.tsx +++ b/src/browser/modules/DBMSInfo/MetaItems.tsx @@ -139,7 +139,7 @@ const LabelItems = ({ if (labels.length) { const editorCommandTemplate = (text: any, i: any) => { if (i === 0) { - return 'MATCH (n) RETURN n LIMIT 25' + return 'MATCH (n)-[r]->(m) RETURN r, m, n' } return `MATCH (n:${escapeCypherIdentifier(text)}) RETURN n LIMIT 25` }