Conversation
|
Thanks for putting this together. I'm not available for a couple of days, but I'll take a look at this next week and give feedback then :) |
|
Begin/Endless Ranges Postgres supports "infinite" values for lower/upper boundary. This corresponds to begin/endless Ranges in Crystal. Another possibility would be to use the Datatypes MIN/MAX value (e.g. Int64::MIN) and make sure the boundary is inclusive: Empty Ranges Postgres empty ranges are currently implemented as exclusive Ranges with the same value for lower and upper boundary. The values I picked to build these empty ranges are arbitrary though and this does not map exactly what is stored in Postgres. There is no way to differentiate between
What do you think? |
|
@will |
Implements Ranges
(#164)
This is as far as i can get with my limited Crystal knowhow...so i'll need some help to finish it.