79717692

Date: 2025-07-28 17:38:07
Score: 3.5
Natty:
Report link

Can you please provide your complete nodejs code? I was able to use the latest 3.7 gremlin-javascript driver to execute a comparable query against my local gremlin-server populated with the sample modern graph:

const dc = new DriverRemoteConnection('ws://localhost:8182/gremlin');
const g = traversal().withRemote(dc);\
const graphTraversal = await g.V().hasLabel('person').has('age', 29).toList();
console.log(graphTraversal)

The output I received:

[
  Vertex {
    id: 1,
    label: 'person',
    properties: { name: [Array], age: [Array] }
  }
]

I was also able to use a Neptune notebook to execute a comparable query against a graph loaded with the sample air-routes data:

%%gremlin
g.V().hasLabel('airport').has('code', 'LAX')

Output:

v[13]
Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please provide your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you please
  • Low reputation (1):
Posted by: Andrea