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 complex DateTime operations on SQL. #27

Open
cyilcode opened this issue Nov 26, 2018 · 0 comments
Open

Add support for complex DateTime operations on SQL. #27

cyilcode opened this issue Nov 26, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@cyilcode
Copy link
Member

Currently the only thing that you can play around with DateTime structs is just its complete values. You are not able to query stuff like

?o=eq&p=myDateTime.Day&v=10

Query above should work well if the data source is in memory but it is not possible on SQL data sources since SQL won't understand what .Day would mean.

Also, we should be considering the fact that not all SQL platforms offer the same DateTime operations. For example, extracting Day from a datetime sql column goes as

SELECT DAY(myDateTime ) from MyTable on MSSQL.

However, this is not the case for every SQL platform.

@cyilcode cyilcode self-assigned this Nov 26, 2018
@cyilcode cyilcode added the enhancement New feature or request label Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants