ODQueryCopyResults(_:_:_:)
Returns results from a query synchronously.
Declaration
func ODQueryCopyResults(_ query: ODQueryRef!, _ allowPartialResults: Bool, _ error: UnsafeMutablePointer<Unmanaged<CFError>?>!) -> Unmanaged<CFArray>!Parameters
- query:
The query.
- allowPartialResults:
If
true, only immediately available results are returned; otherwise, the function waits until all results are available. - error:
An error reference for error details. Can be
NULL.
Return Value
The results of the query in an array of ODRecord objects.