File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -598,6 +598,31 @@ of the batch failed due to an integrity violation:
598598
599599The response status code will always be 424 (failed dependency) in case of any failure of one of the batch operations.
600600
601+ To insert multiple records into this table the request can be written in URL format as:
602+
603+ POST /records/posts
604+
605+ The body should contain an array of records to be inserted:
606+
607+ [
608+ {
609+ "title": "Hello world!",
610+ "content": "Welcome to the first post.",
611+ "created": "2018-03-05T20:12:56Z"
612+ },
613+ {
614+ "title": "Black is the new red",
615+ "content": "This is the second post.",
616+ "created": "2018-03-06T21:34:01Z"
617+ }
618+ ]
619+
620+ The return value is also an array containing the primary keys of the newly inserted records:
621+
622+ [1,2]
623+
624+ Note that batch operation for DELETE follows the same pattern as PUT, but without a body.
625+
601626### Spatial support
602627
603628For spatial support there is an extra set of filters that can be applied on geometry columns and that starting with an "s":
You can’t perform that action at this time.
0 commit comments