Changes relationship data type to iterator