Instance Method

resultAtIndex:

Returns the query result at a specific index.

Declaration

- (id)resultAtIndex:(NSUInteger)idx;

Parameters

index

The index of the desired result.

Return Value

The query result at a specific index.

Discussion

For performance reasons, you should use this method when retrieving a specific result, rather than they array contained in results.

See Also

Getting Query Results

attribute

The result group’s attribute name.

value

The result group’s value.

results

An array containing the result group’s result objects.

resultCount

The number of results returned by the result group.

subgroups

An array containing the result group’s subgroups.