Skip to content

Conversation

@Ragnis
Copy link

@Ragnis Ragnis commented May 20, 2017

  • The Int32Range and Int64Range can be used for reading/writing int4range and int8range values, respectively
  • The Float64Range is useful for reading/writing numrange values, when possible loss of precision is not of concern.
  • The DateRange type can be used with the Postgres daterange type. This is the only one that currently supports infinite values.

I'm not yet sure what would be a good way of handling the numrange type. Maybe by treating the min/max values as strings?

@Ragnis Ragnis changed the title Implement basic support for numeric range types Implement basic support for numeric and date range types May 20, 2017
@UmanShahzad
Copy link

Can we look into merging this at some point?

@cliedeman
Copy link

was also implementing my own until I found this

@aszecowka
Copy link

aszecowka commented May 30, 2022

What it the status of this PR? I am interested in strange support, does this library support that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants