subsuming fix for #161
This commit is contained in:
parent
b9cf3c02ca
commit
a65472e99b
1 changed files with 4 additions and 4 deletions
|
|
@ -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()`**
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue