Function

ODQuerySynchronize(_:)

Restarts a query, disposing of any results it has obtained.

Declaration

func ODQuerySynchronize(_ query: ODQueryRef!)

Parameters

inQuery

The query.

Discussion

If inQuery was originally scheduled in a run loop with ODQueryScheduleWithRunLoop(_:_:_:), the query’s callback function is called with inResults set to NULL, inError.error set to kODErrorQuerySynchronize, and inError.domain set to kODErrorDomainFramework.