Class: Follow

olympe.dc.api.queryparts. Follow


new Follow(db, relation)

Parameters:
Name Type Description
db olympe.dc.DBView
relation olympe.dc.registry.Relation
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:
Type
olympe.dc.registry.Relation

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:
Type
olympe.dc.api.QueryPart.ObservationCallback

serialize()

Implements:
Returns:
Type
Object

toString()

Get the string representation of a query part

Implements:
Returns:
Type
string