This repository has been archived by the owner on Oct 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
TimeSpan #1
Comments
Aggregate functions could also use some thought. db.TestResults.Max(r => r.ExecutionTime); select timespan(max(days(executionTime))) from testResult; Note: This won't be able to leverage indexes on the column. |
Closed
Without this, we need to ensure server evaluation is blocked: |
Should look into simplifying expressions too so instead of this...
...it generates this.
It should be as simple as collapsing any |
We can add this to the main provider behind an off-by-default option. Example: options.UseSqlite(connection, x => x.UseTimeSpan()); |
Tracked by dotnet/efcore#18844 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Functions
Translations
Notes:
datetime()
should actually be translated asrtrim(rtrim(strftime('%Y-%m-%d %H:%M:%f'), '0'), '.')
The text was updated successfully, but these errors were encountered: