-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add support for date extract #111
Add support for date extract #111
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this convenient date extract work can benefit from some examples and further documentation in docs/USE-CASES-AND-EXAMPLES.md
. I thought that the library users might not know what is the list of supported values for the extraction party in the argument's list (e.g.DAY
, MONTH
, YEAR
).
Co-authored-by: Martin Georgiev <martin-georgiev@users.noreply.github.com>
@martin-georgiev do we have chances to merge this PR? |
…postgresql-for-doctrine into add-extract-function
Adds support for
EXTRACT(DAY FROM timestamp)
: https://www.postgresql.org/docs/current/functions-datetime.html