Taking an input array of IDs, on each item I have to sequentially execute a fetch request, and then perform a database operation using the returned results.
IDs = [1,