Skip to content

How I can specify default NULL in table? #837

Answered by Desiders
Desiders asked this question in Q&A
Discussion options

You must be logged in to vote

There is also an option Expr::new_with_left(Keyword::Null), but it's a private API

I think we need a method like Expr::null(), analogous to Expr::current_timestamp().
If you agree, then I can create a PR.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Desiders
Comment options

@Desiders
Comment options

@Desiders
Comment options

Answer selected by Desiders
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants