Skip to content

Commit

Permalink
Merge pull request #4840 from bmihelac/patch-1
Browse files Browse the repository at this point in the history
Update documentation for delete
  • Loading branch information
fzaninotto authored May 21, 2020
2 parents 80be40c + 2641e5e commit c8ac2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/DataProviders.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ Method | Response format
`create` | `{ data: {Record} }`
`update` | `{ data: {Record} }`
`updateMany` | `{ data: {mixed[]} }` The ids which have been updated
`delete` | `{ data: {Record|null} }` The record that has been deleted (optional)
`delete` | `{ data: {Record} }` The record that has been deleted
`deleteMany` | `{ data: {mixed[]} }` The ids of the deleted records (optional)

A `{Record}` is an object literal with at least an `id` property, e.g. `{ id: 123, title: "hello, world" }`.
Expand Down

0 comments on commit c8ac2f2

Please sign in to comment.