deleteProject

@Modifying(clearAutomatically = true)
@Query(value = ""DELETE FROM " + PROJECTS_KEY + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true)
abstract fun deleteProject(@Param(value = "id") projectId: String)

Method to execute the query to delete an existing Project

Parameters

projectId

: the identifier of the project to delete