przewiń do treści
$Kontynent = $manager ->getRepository('MyFrontendBundle:Kontynent') ->findOneByNazwa('Europa'); $manager->remove($Kontynent); $manager->flush();
Listing 32.12. Usunięcie państw europejskich
Rozdział 32. Relacje 1:n (jeden do wielu)
listing-32-12.txt