ramsql icon indicating copy to clipboard operation
ramsql copied to clipboard

return id

Open marcelloh opened this issue 4 years ago • 0 comments

When I have a table created like this:

CREATE TABLE myTable (id SERIAL PRIMARY KEY, field varchar);

and I do a query like this:

INSERT INTO myTable (field) VALUES (:field) RETURNING id;

I expect the id to be filled with the inserted id of the new row.

marcelloh avatar Nov 19 '19 09:11 marcelloh