A faster way to write a for loop. It caches the array size, so we don't need to recalculate the size at every iteration.
Merge pull request #206 from brenopolanski/master

A faster way to write a for loop. It caches the array size, so we don't need to recalculate the size at every iteration.
fix datatype issue when saving queries
merge master