src/Graviton/RestBundle/Model/DocumentModel.php
private function deleteById($id)
    {
        $builder = $this->repository->createQueryBuilder();
        $builder
            ->remove()
            ->field('id')->equals($id)
            ->getQuery()
            ->execute();
    }
private function deleteById($id)
    {
        $builder = $this->repository->createQueryBuilder();
        $builder
            ->remove()
            ->field('id')->equals($id)
            ->getQuery()
            ->execute();
    }
private function deleteById ( $ id ) { $ builder = $ this -> repository -> createQueryBuilder ( ) ; $ builder -> remove ( ) -> field ( 'id' ) -> equals ( $ id ) -> getQuery ( ) -> execute ( ) ; }
A low level delete without any checks

@param mixed $id record id

@return void
A low level delete without any checks