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

4 lines
284 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
Updating objects is very easy, you just call the Doctrine_Record::save() method. The other way
2006-08-22 02:55:11 +04:00
(perhaps even easier) is to call Doctrine_Connection::flush() which saves all objects. It should be noted though
2006-07-24 01:08:06 +04:00
that flushing is a much heavier operation than just calling save method.