1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/manual/codes/Mapping object relations - Dealing with relations - Deleting related records.php
2006-07-23 21:08:06 +00:00

10 lines
137 B
PHP

<?php
$user->Email->delete();
$user->Phonenumber[3]->delete();
// deleting user and all related objects:
$user->delete();
?>