Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 658 Bytes
title date weight menu
Batch Operations
2018-05-14 12:00:00 -0300

Batch Insert - POST

You can insert many rows at once using batch endpoint.


    {"FIELD1": "string value", "FIELD2": 1234567890},
    {"FIELD1": "other string value", "FIELD2":1234567891},

The default insert method is using multiple tuple values like insert into table values ("value", 123), ("other", 456). Returns inserted rows.

You can change this behaviour using the header Prest-Batch-Method with value copy. It's useful for large insertions, but the return is empty.

You can’t perform that action at this time.