private function deleteThesaurusRelations(\Magento\Framework\Model\AbstractModel $object)
    {
        $deleteCondition = [ThesaurusInterface::THESAURUS_ID . " = ?" => $object->getThesaurusId()];

        $this->getConnection()->delete(
            $this->getTable(ThesaurusInterface::EXPANSION_TABLE_NAME),
            $deleteCondition
        );

        return $this;
    }
private function deleteThesaurusRelations(\Magento\Framework\Model\AbstractModel $object)
    {
        $deleteCondition = [ThesaurusInterface::THESAURUS_ID . " = ?" => $object->getThesaurusId()];

        $this->getConnection()->delete(
            $this->getTable(ThesaurusInterface::EXPANSION_TABLE_NAME),
            $deleteCondition
        );

        return $this;
    }
private function deleteThesaurusRelations ( \ Magento \ Framework \ Model \ AbstractModel $ object ) { $ deleteCondition = [ ThesaurusInterface :: THESAURUS_ID . " = ?" => $ object -> getThesaurusId ( ) ] ; $ this -> getConnection ( ) -> delete ( $ this -> getTable ( ThesaurusInterface :: EXPANSION_TABLE_NAME ) , $ deleteCondition ) ; return $ this ; }
Delete thesaurus previous relations.

@param \Magento\Framework\Model\AbstractModel $object Thesaurus to save

@return $this
Delete thesaurus previous relations .