Model/ResourceModel/Category.php
protected function savePath($object)
    {
        if ($object->getId()) {
            $this->getConnection()->update(
                $this->getEntityTable(),
                ['path' => $object->getPath()],
                ['entity_id = ?' => $object->getId()]
            );
            $object->unsetData('path_ids');
        }

        return $this;
    }
protected function savePath($object)
    {
        if ($object->getId()) {
            $this->getConnection()->update(
                $this->getEntityTable(),
                ['path' => $object->getPath()],
                ['entity_id = ?' => $object->getId()]
            );
            $object->unsetData('path_ids');
        }

        return $this;
    }
protected function savePath ( $ object ) { if ( $ object -> getId ( ) ) { $ this -> getConnection ( ) -> update ( $ this -> getEntityTable ( ) , [ 'path' => $ object -> getPath ( ) ] , [ 'entity_id = ?' => $ object -> getId ( ) ] ) ; $ object -> unsetData ( 'path_ids' ) ; } return $ this ; }
Update path field

@param \Mirasvit\Blog\Model\Category $object
@return $this
Update path field