1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/manual/docs/Basic Components - Record - Updating records.php
2006-08-21 22:55:11 +00:00

4 lines
284 B
PHP

Updating objects is very easy, you just call the Doctrine_Record::save() method. The other way
(perhaps even easier) is to call Doctrine_Connection::flush() which saves all objects. It should be noted though
that flushing is a much heavier operation than just calling save method.