spmallette opened a new pull request, #3570:
URL: https://github.com/apache/tinkerpop/pull/3570
The reference documentation for the values()-step listed three examples
against the TinkerPop Crew graph but rendered no output and offered only a
single sentence of prose, so the behavior of the step was difficult to predict
from the docs alone.
This adds:
- An introductory paragraph explaining that values() returns the values of
the requested properties, or of every property when called with no arguments,
and noting that a property may be multi-valued or carry meta-properties.
- Numbered callouts on the three examples clarifying that a no-argument
values() returns every property value across all keys, that the sample vertex
has a multi-valued location property, and that properties('location').values()
extracts meta-property values (the startTime and endTime years) rather than the
city-name values returned by values('location').
- A note that the order in which property values are returned is not
guaranteed.
The examples remain executable, so their output is rendered at build time
rather than hand-written. No behavior changes; this is a documentation-only
improvement.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]