removeMember
@Modifying(clearAutomatically = true)
@Query(value = ""DELETE FROM " + MEMBERS_KEY + " WHERE "
+ OWNER_KEY + "=:" + OWNER_KEY + " AND "
+ TEAM_IDENTIFIER_KEY + "=:" + TEAM_IDENTIFIER_KEY", nativeQuery = true)
Method to execute the query to remove a member from a team
Parameters
teamId
: the identifier of the team
member
: the member to remove