removeMember

@Modifying(clearAutomatically = true)
@Query(value = ""DELETE FROM " + PROJECT_MEMBERS_TABLE + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY + " AND " + MEMBER_IDENTIFIER_KEY + "=:" + MEMBER_IDENTIFIER_KEY", nativeQuery = true)
abstract fun removeMember(@Param(value = "id") projectId: String, @Param(value = "member_id") memberId: String)

Method to execute the query to remove a member from an existing Project

Parameters

projectId

: the identifier of the project

memberId

: the identifier of the member to remove