1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/manual/docs/Mapping object relations - Dealing with relations - Updating related records.php

3 lines
243 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
You can update the related records by calling save for each related object / collection individually or by calling
2006-08-22 02:55:11 +04:00
save on the object that owns the other objects. You can also call Doctrine_Connection::flush which saves all pending objects.