src/Kunstmaan/TranslatorBundle/Service/Migrations/MigrationsService.php
public function getNewTranslationSql()
    {
        $translations = $this->translationRepository->findBy(array('flag' => \Kunstmaan\TranslatorBundle\Entity\Translation::FLAG_NEW));

        return $this->buildInsertSql($translations, '\Kunstmaan\TranslatorBundle\Entity\Translation', array('flag', 'id'));
    }
public function getNewTranslationSql()
    {
        $translations = $this->translationRepository->findBy(array('flag' => \Kunstmaan\TranslatorBundle\Entity\Translation::FLAG_NEW));

        return $this->buildInsertSql($translations, '\Kunstmaan\TranslatorBundle\Entity\Translation', array('flag', 'id'));
    }
public function getNewTranslationSql ( ) { $ translations = $ this -> translationRepository -> findBy ( array ( 'flag' => \ Kunstmaan \ TranslatorBundle \ Entity \ Translation :: FLAG_NEW ) ) ; return $ this -> buildInsertSql ( $ translations , '\Kunstmaan\TranslatorBundle\Entity\Translation' , array ( 'flag' , 'id' ) ) ; }
Get the sql query for all new translations added

@return string sql query
Get the sql query for all new translations added