Contents

result(at:)

Returns the query result at a specific index.

Declaration

func result(at idx: Int) -> Any

Parameters

  • idx:

    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