pop icon indicating copy to clipboard operation
pop copied to clipboard

Insert an expression or use NEXTVAL as value

Open zinefer opened this issue 6 years ago • 0 comments

This is more of a question than an issue.

I would like to run an insert with a database calculated value, like:

INSERT INTO "users" ("id", "name") values (NEXTVAL("users_id_sequence"), "jake");

Is there some mechanism I can use to prepare an insert statement to use with a model or maybe a way to temporarily disable the quoting?

zinefer avatar Nov 29 '19 15:11 zinefer