-
Notifications
You must be signed in to change notification settings - Fork 51
Is it possible to insert multiple rows in one go? #70
Copy link
Copy link
Open
Labels
Description
I noticed that I when I want to insert bulk data to a single table the insert query is built for every row of the bulk data separately and ran individually. Is it possible to combine these or does restsql already support this?
Something like the multirow VALUES syntax of postgres:
INSERT INTO films (code, title, did, date_prod, kind) VALUES
('B6717', 'Tampopo', 110, '1985-02-10', 'Comedy'),
('HG120', 'The Dinner Game', 140, DEFAULT, 'Comedy');
Reactions are currently unavailable