delete
Member
@Modifying(clearAutomatically = true
)
@Query(value = ""DELETE FROM " + GROUP_MEMBERS_TABLE + " WHERE " + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to delete the user's account
Parameters
memberId
: the user identifier