remove
Project
Group
@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 group from a project
Parameters
projectId
The project where remove the group
groupId
The group to remove from a project