new FollowRecursively(db, relation [, includeSelf])
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
db |
olympe.dc.DBView | |||
relation |
olympe.dc.registry.Relation | |||
includeSelf |
boolean |
<optional> |
false |
- Implements:
Methods
-
execute(result, level)
-
Apply the query part on current state of DBView. No future update notification. Updates PartialResult in place
Parameters:
Name Type Description result
olympe.dc.api.PartialResult level
number - Implements:
-
getRelation()
-
Returns:
-
nextLevel(level)
-
Parameters:
Name Type Description level
number - Implements:
Returns:
- Type
- number
-
observe(result, level, callback)
-
Apply the query part on the datacloud with notifications on any update.
Parameters:
Name Type Description result
olympe.dc.api.PartialResult level
number callback
olympe.dc.api.QueryPart.ObservationCallback - Implements:
Returns:
-
serialize()
-
- Implements:
Returns:
- Type
- Object
-
toString()
-
Get the string representation of a query part
- Implements:
Returns:
- Type
- string