Skip to content

Commit

Permalink
feat: update code
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Aug 14, 2024
1 parent fea2a0e commit 77bcbcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const language: languages.IMonarchLanguage = {
],

keywords: [
'g',
'V',
'E',
'out',
Expand Down
2 changes: 1 addition & 1 deletion packages/studio-website/src/pages/query/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const getPrefixParams = () => {
const language =
Utils.storage.get<'cypher' | 'gremlin'>('query_language') ||
(GS_ENGINE_TYPE === 'interactive' ? 'cypher' : 'gremlin');
let globalScript = GS_ENGINE_TYPE === 'groot' ? 'g.V().limit(500)' : 'Match (n) return n limit 500';
let globalScript = language === 'gremlin' ? 'g.V().outE().limit(500)' : 'Match (n) return n limit 500';
let welcome;
let autoRun = false;
let collapsed = true;
Expand Down

0 comments on commit 77bcbcf

Please sign in to comment.