private function removeIdxContentPage(AbstractClassContent $content, Page $page)
    {
        $query = 'DELETE FROM idx_page_content WHERE page_uid = :page '.
                'AND (content_uid IN (SELECT subcontent_uid FROM idx_content_content WHERE content_uid = :content) '.
                'OR content_uid IN (SELECT content_uid FROM idx_content_content WHERE subcontent_uid = :content))';

        $params = array(
            'page' => $page->getUid(),
            'content' => $content->getUid(),
        );

        return $this->executeUpdate($query, $params);
    }
private function removeIdxContentPage(AbstractClassContent $content, Page $page)
    {
        $query = 'DELETE FROM idx_page_content WHERE page_uid = :page '.
                'AND (content_uid IN (SELECT subcontent_uid FROM idx_content_content WHERE content_uid = :content) '.
                'OR content_uid IN (SELECT content_uid FROM idx_content_content WHERE subcontent_uid = :content))';

        $params = array(
            'page' => $page->getUid(),
            'content' => $content->getUid(),
        );

        return $this->executeUpdate($query, $params);
    }
private function removeIdxContentPage ( AbstractClassContent $ content , Page $ page ) { $ query = 'DELETE FROM idx_page_content WHERE page_uid = :page ' . 'AND (content_uid IN (SELECT subcontent_uid FROM idx_content_content WHERE content_uid = :content) ' . 'OR content_uid IN (SELECT content_uid FROM idx_content_content WHERE subcontent_uid = :content))' ; $ params = array ( 'page' => $ page -> getUid ( ) , 'content' => $ content -> getUid ( ) , ) ; return $ this -> executeUpdate ( $ query , $ params ) ; }
Remove stored page-content indexes from a content and a page.

@param  \BackBee\ClassContent\AbstractClassContent            $content
@param  \BackBee\NestedNode\Page                              $page

@return \BackBee\ClassContent\Repository\IndexationRepository
Remove stored page - content indexes from a content and a page .