-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support the new BCL DateOnly and TimeOnly structs for Sqlite #24506
Comments
The Additional translations:
The ADO.NET provider should serialize and deserialize these to TEXT using the |
On a related note, we should look into updating the This would be a breaking change, but also enables us to get rid of the ugly |
Why truncate precision to milliseconds? |
SQLite date and time functions only go to milliseconds. We could allow reading and writing values with higher precision—we do this today for DateTime. But any arithmetic operations on the server will have to truncate. (Unless we add our own UDFs, but IMHO that’s going too far to work around SQLite’s native limitations.) |
Please note that the final names for these types are |
Clearing milestone to discuss doing this in 6.0.0. |
Poaching |
New DateOnly and TimeOnly structs are being introduced to .NET 6 as alternatives to DateTime (dotnet/runtime#49036). This issue tracks supporting them in Sqlite (both ADO.NET and EF Core providers).
The text was updated successfully, but these errors were encountered: