We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f84a3bb + acb9e58 commit caa9e02Copy full SHA for caa9e02
packages/studio-explore/src/components/Next/Neighbors/index.tsx
@@ -49,11 +49,10 @@ const InspectNeighbor = props => {
49
const queryNeighbors = async () => {
50
const selectIds = selectedKey.split('__');
51
const queryKey = `${id}_${selectedKey}`;
52
+
53
if (!CacheData[queryKey] && selectIds.length !== 0) {
- const script = `MATCH(a)-[b]-(c)
54
- where elementId(a) IN [${selectIds}]
55
- return a,b,c limit 50000
56
- `;
+ const script = `MATCH(a)-[b]-(c) where elementId(a) IN [${selectIds}] return a,b,c`;
+ console.log('%c Query Neighbors', 'color:green', script);
57
const res = await getService<IQueryStatement>('queryStatement')(script);
58
CacheData[queryKey] = res;
59
}
0 commit comments