1
0
mirror of synced 2025-01-18 14:31:40 +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-23 21:08:06 +00:00
You can update the related records by calling save for each related object / collection individually or by calling
2006-08-21 22:55:11 +00:00
save on the object that owns the other objects. You can also call Doctrine_Connection::flush which saves all pending objects.