remove
Member
@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