Class: QueryMetadata

QueryMetadata

Created by Sym on 07.10.2021


new QueryMetadata(query)

Parameters:
Name Type Description
query olympe.dc.Query

Members


<non-null> partialResult :olympe.dc.api.PartialResult

Type:

Methods


decrementCounter()

Decrement the usage counter and return its new value.

Returns:
Type
number

destroy()

Update the reference counters of instances in the last result.


incrementCounter()

Increment the usage counter and return the new value.

Returns:
Type
number

observeResult()

Returns:
Type
!olympe.df.Proxy.<olympe.dc.QueryResult> | olympe.dc.QueryResult

setPartialResult(result)

Parameters:
Name Type Description
result olympe.dc.api.PartialResult

setResult(result)

Update the query result of the associated query with the specified one.

Parameters:
Name Type Description
result olympe.dc.QueryResult

update()

Update and set the new query result based on the updated partial result. Send the new value to the observable.