A couple of small spelling fixes in the docs
This commit is contained in:
parent
2c74cb1657
commit
19f268c6c1
3 changed files with 5 additions and 5 deletions
|
|
@ -122,7 +122,7 @@ Optionally disable syncing to disk per transaction. Nosync being true means much
|
|||
* Type: String
|
||||
* Default: "cayley"
|
||||
|
||||
The name of the database within MongoDB to connect to. Manages its own collections and indicies therein.
|
||||
The name of the database within MongoDB to connect to. Manages its own collections and indices therein.
|
||||
|
||||
## Per-Replication Options
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Arguments:
|
|||
|
||||
Returns: Query object
|
||||
|
||||
Starts a query path at the given vertex/verticies. No ids means "all vertices".
|
||||
Starts a query path at the given vertex/vertices. No ids means "all vertices".
|
||||
|
||||
####**`graph.Morphism()`**
|
||||
|
||||
|
|
@ -98,7 +98,7 @@ g.V("D").Out()
|
|||
// Finds all things D points at on the status linkage.
|
||||
// Result is B G and cool_person
|
||||
g.V("D").Out(["follows", "status"])
|
||||
// Finds all things D points at on the status linkage, given from a seperate query path.
|
||||
// Finds all things D points at on the status linkage, given from a separate query path.
|
||||
// Result is {"id": cool_person, "pred": "status"}
|
||||
g.V("D").Out(g.V("status"), "pred")
|
||||
```
|
||||
|
|
@ -327,7 +327,7 @@ Starts as if at the g.M() and follows through the morphism path.
|
|||
Example:
|
||||
```javascript:
|
||||
friendOfFriend = g.Morphism().Out("follows").Out("follows")
|
||||
// Returns the followed people of who C follows -- a simplistic "friend of my frind"
|
||||
// Returns the followed people of who C follows -- a simplistic "friend of my friend"
|
||||
// and whether or not they have a "cool" status. Potential for recommending followers abounds.
|
||||
// Returns B and G
|
||||
g.V("C").Follow(friendOfFriend).Has("status", "cool_person")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue