What’s the best way to update big lot of page handles:
$page->update(array('cName' => $cName, 'cHandle' => $cHandle,));
$db->executeQuery('UPDATE Collections SET handle = ? WHERE cID = ?', [$handle, $cid]);
Risk with #1 - php timeout.
Risk with #2 - Collections may be not the only table which has to be updated. CollectionVersions too? Any other?
Or any better way?