pop
pop copied to clipboard
Insert an expression or use NEXTVAL as value
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?