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

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