Is there any way to override the default for DateTime? #258
-
Hello, Is there a way to globally set to use NULL instead of default(datetime) so that I can force __User.CreatedDateTime IS NOT NULL? I can make it work with the work around below but I want to avoid repeating that code for different tables and columns: I understand that it does not make sense to apply a non null filter on a not nullable column, but the filter is available from the frontend by default on all columns. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @viseu, |
Beta Was this translation helpful? Give feedback.
Hi @viseu,
I don't think there is anyway to solve the issue if you don't want to make your
CreatedDateTime
property nullable.I would suggest to simply change it to a nullable type since you expect null values.