Return results for cursor query