Doubt about iteration limit

Doubt about iteration limit

Hi,

I'm building a couple Apps and as of now I'm not having any iteration limits problems, however the lines are piling up steadily and fast... Hence the concern

My question would be if a "for each" script counts iterations from the raw amount of lines of the table or if it counts the iterations per result in which it has to act.

Ex: I have a form with 6000 lines and it contains a field "Color" and 100 lines have "Green" color, if i do a "for each (Green)" script, it will count a hundred iterations or it will already cut me after looking at the first 5000 lines?

I asume it's the second option but keep hoping for the first...


Thanks for the help!