FetchAll and DeltaFetch analytics code.