[eluser]ryeguy[/eluser]
In either of these libraries, is it possible to update a record WITHOUT first retrieving it?
IE in datamapper, unless I'm mistaken, you must do:
Code:
$u=new User();
$u->get_by_id(3);
$u->username="newusername";
$u->save();
This results in 2 SQL queries even though it could clearly be done in one. Is there a way to do this in either library with only 1 query?