delete
Project
@Modifying(clearAutomatically = true
)
@Query(value = ""DELETE FROM " + PROJECTS_KEY + " WHERE " + AUTHOR_KEY + "=:" + AUTHOR_KEY
+ " AND " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to delete an existing Project
Parameters
userId
The user identifier
projectId
The project identifier