Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Keyword::Default for SimpleExpr #850

Open
tisonkun opened this issue Dec 30, 2024 · 0 comments
Open

Add Keyword::Default for SimpleExpr #850

tisonkun opened this issue Dec 30, 2024 · 0 comments

Comments

@tisonkun
Copy link

This is useful when one would like to make an insert clause with partially values set as DEFAULT, like:

INSERT INTO "my_table" ("my_col_0", "my_col_1") VALUES (1, DEFAULT), (DEFAULT, 42)

Currently, I use Expr::cust("DEFAULT") to work it around. But I wonder if a Keyword::Default desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant