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

DateOnly support #667

Closed
EfrSyn opened this issue Feb 7, 2023 · 2 comments
Closed

DateOnly support #667

EfrSyn opened this issue Feb 7, 2023 · 2 comments
Assignees
Labels

Comments

@EfrSyn
Copy link

EfrSyn commented Feb 7, 2023

Hello, I have some DateOnly fields in our Database. (for example "MyDate")

I wasn't able to write a where string like:

" MyDate > DateOnly('2023-01-01') "

as I would have done with a DateTime Field.

I was able to work with DateOnly field using a parameter field (1) but it's not really an option in my case as I have very complex where clause.

Any suggestion / workaround?

Thank you!

(1) I mean :
var d = new DateOnly(2023,1,1);
query.where(" MyDate > @0", d)

@StefH StefH self-assigned this Feb 10, 2023
@StefH StefH added the feature label Feb 10, 2023
@StefH
Copy link
Collaborator

StefH commented Feb 10, 2023

#671

@StefH
Copy link
Collaborator

StefH commented Feb 11, 2023

@EfrSyn
Support for DateOnly and TimeOnly will be present in the next release.

@StefH StefH closed this as completed Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants