bcgov / critterbase-api

0 stars 0 forks source link

894 taxon edit page #20

Closed GrahamS-Quartech closed 1 year ago

GrahamS-Quartech commented 1 year ago

This PR updates the functionality in the bulk update endpoint so that it can delete collection units on the inclusion of a _delete: true entry. The basic case was also expanded to allow creation of collection units in the case of a missing primary key. This is done because the Edit Critter page may sometimes do all three of creation, update, and delete at once for this table.