the current data context
a function for updating a place
Updates an existing place to have the provided data.
the updated place data. The complete data for the place must be provided. Existing fields not included in the updated data will be removed from the place. If the provided parent/contact lineage is hydrated (e.g. for a PlaceWithLineage), the lineage will be properly dehydrated before being stored.
the updated place with the new _rev value
ResourceNotFoundError if _id does not identify an existing place contact @throws InvalidArgumentError if _revis not provided or does not match the place's current_revvalue @throws InvalidArgumentError ifnameis not provided @throws InvalidArgumentError if the providedcontactis not the identifier of a valid person contact @throws InvalidArgumentError if any of the following read-only properties are changed:reported_date, parent, type, contact_type`
Returns a function for updating a place from the given data context.