haxetink / tink_sql

SQL embedded into Haxe
MIT License
53 stars 16 forks source link

Limit of IntIterator #85

Closed benmerckx closed 4 years ago

benmerckx commented 5 years ago

Feels a little backwards... This get 10 results starting from 0: 10 ... 0, where I'm guessing the intended api should work like 0 ... 10. Then there's also the question whether it should work like a from/to (and substract the min off the max to get the offset): 5 ... 7 you'd expect to fetch rows 5 to 7, not 7 rows starting from 5.