Skip to content

Is it possible to insert multiple rows in one go? #70

@ghost

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');

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions