1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/manual/codes/Working with objects - Component overview - Collection - Deleting collection.php
2007-02-23 20:57:38 +00:00

8 lines
123 B
PHP

<?php
// delete all users with name 'John'
$users = $table->findByDql("name LIKE '%John%'");
$users->delete();
?>