Skip to content
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 functions in an interval expression #1099

Merged
merged 1 commit into from
Mar 14, 2021
Merged

Add support for functions in an interval expression #1099

merged 1 commit into from
Mar 14, 2021

Conversation

tomershay
Copy link
Contributor

Added support for functions in an interval expression. This far, only columns and JDBC parameters were supported.
A sample query that is now supported:
SELECT DATE_ADD(start_date, INTERVAL COALESCE(duration, 21) MINUTE) AS end_datetime FROM appointment

@coveralls
Copy link

Coverage Status

Coverage remained the same at 88.783% when pulling 6986d38 on tomershay:add_support_for_function_in_interval_expression into 5706fb4 on JSQLParser:master.

@tomershay
Copy link
Contributor Author

Hi @wumpz, did you get a chance to review this please? Can be great to have it merged.

@wumpz
Copy link
Member

wumpz commented Mar 11, 2021

Sorry. Somehow overlooked it. I am on it.

@wumpz wumpz merged commit 7f8b58c into JSQLParser:master Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants