public function deleteWordsWithoutObjects()
    {
        $query = $this->dbHandler->createDeleteQuery();

        $query->deleteFrom($this->dbHandler->quoteTable('ezsearch_word'))
            ->where($query->expr->eq($this->dbHandler->quoteColumn('object_count'), ':c'));

        $stmt = $query->prepare();
        $stmt->execute(['c' => 0]);
    }
public function deleteWordsWithoutObjects()
    {
        $query = $this->dbHandler->createDeleteQuery();

        $query->deleteFrom($this->dbHandler->quoteTable('ezsearch_word'))
            ->where($query->expr->eq($this->dbHandler->quoteColumn('object_count'), ':c'));

        $stmt = $query->prepare();
        $stmt->execute(['c' => 0]);
    }
public function deleteWordsWithoutObjects ( ) { $ query = $ this -> dbHandler -> createDeleteQuery ( ) ; $ query -> deleteFrom ( $ this -> dbHandler -> quoteTable ( 'ezsearch_word' ) ) -> where ( $ query -> expr -> eq ( $ this -> dbHandler -> quoteColumn ( 'object_count' ) , ':c' ) ) ; $ stmt = $ query -> prepare ( ) ; $ stmt -> execute ( [ 'c' => 0 ] ) ; }
Delete words not related to any content object.
Delete words not related to any content object .