Is there a method of updating multiple rows within the new $DB functionality. I can see update_record and update_record_raw, but both rely on a row id beind passed in the data object or the array params.
Can anyone advise how I can achieve updating multiple rows without getting each row and iterating through each record with a new transaction. That could be very resourse heavy.
I think I must be looking at the wrong docs or library.
also trying to find help docs on http://docs.moodle.org/en/Developer_FAQ#How_do_I_migrate_code_to_Moodle_2.0.3F i found that the link to the documentation for datalib.php is a total blank page. It doesn't produce a 404 so the page is their but not rendering. report dead links to?