Should offset be just an Int?
randomer opened this issue · comments
Rod commented
So instead of Nothing
it would simply be 0
John Kelly commented
this is a good point.
it's almost a case for bringing back opaque Limit
and Offset
👍 It might be a bit weird that the options type would look like:
{ filters: ...
, orders: ...
, limit: Maybe Int
, offset: Int
}
I'm not convinced either way tho.
John Kelly commented
This may provide some insight: https://www.postgresql.org/docs/9.6/static/queries-limit.html
Andy Bayer commented
agreed