removeSoilImage
@nmi-agro/fdm-source / fdm-core/src / removeSoilImage
Function: removeSoilImage()
removeSoilImage(
fdm,principal_id,a_id_image,onDelete?):Promise<void>
Defined in: fdm-core/src/soil-image.ts:170
Removes a soil image and all its annotations (cascade via FK).
Parameters
fdm
PgDatabase
The FDM database instance.
principal_id
any
The ID of the principal performing the removal.
a_id_image
any
The ID of the image to remove.
onDelete?
(path) => Promise<void>
Returns
Promise<void>