remove
Group
Project
@Modifying(clearAutomatically = true
)
@Query(value = ""DELETE FROM " + PROJECTS_GROUPS_TABLE + " WHERE " +
PROJECT_IDENTIFIER_KEY + "=:" + PROJECT_IDENTIFIER_KEY +
" AND " + GROUP_IDENTIFIER_KEY + "=:" + GROUP_IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to remove a project from a group
Parameters
projectId
The project to remove from a group
groupId
The group where remove the project