From a65472e99b06a842543e2753884c50fe2860786c Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Tue, 3 Feb 2015 19:12:42 -0500 Subject: [PATCH] subsuming fix for #161 --- docs/GremlinAPI.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/GremlinAPI.md b/docs/GremlinAPI.md index e01d352..4dce9ed 100644 --- a/docs/GremlinAPI.md +++ b/docs/GremlinAPI.md @@ -362,10 +362,10 @@ Returns: Array Executes a query and returns the results at the end of the query path. Example: -``javascript +```javascript // fooNames contains an Array of names for foo. var fooNames = g.V("foo").Out("name").ToArray() -`` +``` ####**`query.ToValue()`** @@ -383,12 +383,12 @@ Returns: Array of string-to-string objects As `.ToArray` above, but instead of a list of top-level strings, returns an Array of tag-to-string dictionaries, much as `.All` would, except inside the Javascript environment. Example: -``javascript +```javascript // fooNames contains an Array of names for foo. var fooTags = g.V("foo").Tag("foo_value").Out("name").ToArray() // fooValue should be the string "foo" var fooValue = fooTags[0]["foo_value"] -`` +``` ####**`query.TagValue()`**