Basic Components - Record - Updating records.php 284 Bytes
Newer Older
doctrine's avatar
doctrine committed
1
Updating objects is very easy, you just call the Doctrine_Record::save() method. The other way
2
(perhaps even easier) is to call Doctrine_Connection::flush() which saves all objects. It should be noted though
doctrine's avatar
doctrine committed
3
that flushing is a much heavier operation than just calling save method.