-
I saw a similar discussion about CURRENT_TIMESTAMP, but how to do it with NULL? |
Beta Was this translation helpful? Give feedback.
Answered by
Desiders
Nov 15, 2024
Replies: 2 comments 3 replies
-
Currently, I just use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ref: https://docs.rs/sea-query/latest/sea_query/table/struct.ColumnDef.html#method.default |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think we need a method like
Expr::null()
, analogous toExpr::current_timestamp()
.If you agree, then I can create a PR.