Added a hook during the processing of each row from a query.