I have a requirement where I need to fetch the entire data collection Users from RavenDB and compare the retrieved result set with another set of data. There are cl
Users
You use paging, and read this 1024 items at a time.
int start = 0; while(true) { var current = session.Query().Take(1024).Skip(start).ToList(); if(current.Count == 0) break; start+= current.Count; allUsers.AddRange(current); }