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 )
abstract fun removeProjectGroup(@Param(value = "project_id") projectId: String, @Param(value = "group_id") groupId: String)

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