-
Notifications
You must be signed in to change notification settings - Fork 605
Support EXTRACT function-like operator #96
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
Conversation
Pull Request Test Coverage Report for Build 280
💛 - Coveralls |
I'd prefer
Alternatively, I'd be happy to hear any suggestions on how to deal with future PRs wanting those extensions to be supported - just add everything to the enum? |
Given that #99 depends on this, I'm fine with merging this "as is", as long as we agree on the future direction. |
The EXTRACT function, for extracting components of a date from a timestamp, has special syntax: `EXTRACT(<field> FROM <timestamp>)`.
Ok, great, I'm going to go ahead and merge, as I'm definitely OK with SQLDateTimeField evolving to a string in the future.
Yeah, I don't see anything particularly appealing here. All of the options I can think of have some serious cons:
|
The EXTRACT function, for extracting components of a date from a
timestamp, has special syntax:
EXTRACT(<field> FROM <timestamp>)
.