delete Project

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

Method to execute the query to delete an existing Project

Parameters

userId

The user identifier

projectId

The project identifier