Closed webard closed 7 months ago
What do you think about including date operators directly in package, using SQL functions like YEAR, MONTH etc.?
I think they are too simple from one side (= can be implemented/added for less than a minute or two), and too complicated from another. I'm not sure how functions work in different DBs and, more important, the general implementation will require getting a timezone where is the user who makes a query to get a proper date (that will require some new interface, documentation, etc). So I'm not ready to include/implement it now. Sorry.
PS: use WithScoutSupport
not needed.
Ok, it is understandable. Thank you for response.
Thank you for next version of that great package.
In my project i'm using custom directives like @equalDay, @equalMonth, @equalYear, @equalHour etc. for datetime fields.
Code of directive looks like this:
What do you think about including date operators directly in package, using SQL functions like YEAR, MONTH etc.?