問題タブ [gremlinpython]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
506 参照

gremlin - Gremlin Python: Count vertices and its children in one query

I am trying to get the count of all vertices with a particular label and all its children in one query like so:

This should ideally return [{a: 200, b: 400}], but I am instead getting a list like so:

How exactly can I achieve the desired result?

gremlinpython: 3.4.4 (latest)

Python 3.7

graph database: AWS Neptune