-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ranges support #44
base: master
Are you sure you want to change the base?
Ranges support #44
Conversation
Great work! I'll try to check it tonight or tomorrow. |
I've revised the changes and I think they're great! 👍 What about
As you can see, if I use Do you want to change something or should I merge this into master? |
About the the tstzrange I want to make it available when we have tested the ranges more. I wanted to have a version with "easier" types. About the range functions. I think they are ok be. What do you mean that they don't work? I think we can safely merge into master to have the new type support but we can wait to create a version whe I can implement the criterias. |
I think the problem is that you can only define this ranges: [) in a table On the other hand if you use numrange you can define the four ranges. I Sent from my Nexus 10
|
No, that's not it. What happens is that for integers [0,100] = (-1, 100] = [0, 101) so For "general numbers" the property [0,100] is not always equal to [0,101) Alonso Javier Torres On Mon, Jul 28, 2014 at 11:11 AM, Iván López [email protected]
|
I was just wondering whether there's anything outstanding with this PR? :-) It would be great functionality to have available :-) |
We were waiting for the new Grails 2.4.4 because it includes a bugfix that allows us to remove a wrapper object that we've created. I think @Alotor will change this in the following weeks :-P |
Yeah I'll try to wrap this ASAP. |
Awesome :-) Just wanted to check it hadn't been forgotten :-) Thanks for the awesome plugin :-D |
Grails doesn't allow you to map directly IntRange and ObjectRange and ignores them! I couldn't find why it does this.
The only solution i could think of is to wrap the ranges in a custom type.
@lmivan check it out and let me know