-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Simplify calls to date nested in strftime #25027
Comments
Note to implementor: This requires updating the logic inside SqliteExpression.Strftime to handle efcore/src/EFCore.Sqlite.Core/Query/Internal/SqliteExpression.cs Lines 44 to 55 in e7c0b9d
We should also think about whether it's possible to get nested |
Is anyone working on this? |
@jhowlett-scottlogic Nope, feel free. |
Sorry @bricelam but i have looked into this task more deeply and have found it to be above my experience level with efcore. Because of this i don't feel like i should take on this issue as i do not fully understand the repository and may not take everything required into account when designing a solution. I hope you find someone to take on this task soon! |
@jhowlett-scottlogic No worries. But also feel free to ask us questions; we're always eager to help contributors get started. We have a few docs like How to contribute and Getting and Building the Code, but I'm sure we could use more. |
Introducing SqliteSqlExpressionFactory as discussed in PR dotnet#23193 Fixes dotnet#25027
For example,
strftime('%Y', date($date, '2 years'))
can be simplifed tostrftime('%Y', $date, '2 years')
.(originally #24989 (comment))
The text was updated successfully, but these errors were encountered: