How to chain commands in Gremlin?
问题 The following command works t = new Table(); g.V.as('id').as('properties').table(t){it.id}{it.map} print t The following command works t = new Table(); g.V.as('id').as('properties').table(t){it.id}{it.map}; print t The following command doesn't work t = new Table(); g.V.as('id').as('properties').table(t){it.id}{it.map}; print t Why? 回答1: The fast answer: You need to iterate your pipeline. The long answer: In the Gremlin REPL, iteration will happen for you automagically if your last statement