Open 4n70w4 opened 2 years ago
hello! I dont think this is in scope of this package, it is not range library
you can implement this logic in your code, it is pretty staightforward
also note that you can query your models with these methods
I know that I can do it myself in my code. I did this before I created this issue. I just shared with you my thoughts and experience using your package.
You did not understand. I can't do it in query, since this range needs to be checked for a model that has not yet been saved in the database.
For example, I have a bool in_rank
field in a table. I need to calculate its value before writing to the database.
I do not like and do not want to do this, but such a requirement.
got you, thanks! ill look up into this when i have time, but contributions are welcome :)
Hi! Thanks for package.
For example I have code:
and I want to get a
true
orfalse
answer, whether my value is in this range like this:but I did not find such a method to do it. It will be very helpful!