Description
Provide for a format() step which will handle result formatting to string values. This change will help resolve the need for string concatenation functions while providing a lot of flexibility to how results can be formed:
gremlin> g.V().hasLabel('person').format("%{n} is %{a} years old.").by('n', 'name').by('a', 'age') ==>marko is 29 years old. ==>vadas is 27 years old. ==>josh is 32 years old. ==>peter is 35 years old. gremlin> g.V().hasLabel('person').format("%{name} is %{age} years old.") ==>marko is 29 years old. ==>vadas is 27 years old. ==>josh is 32 years old. ==>peter is 35 years old.
Attachments
Issue Links
- links to