move functor deeper from db_call to db_findall