Is it possible to make a filter query and skip N elements
If i do that, all the data is returned from read and skip and take are made in memory.
IEnumerable<DomInstance> allEventInstances = _eventManagerDomHelper.DomInstances.Read(query).Skip(pageCounter * pageSize).Take(pageSize);
it would be helpful to limit the amount of data loaded in GQI queries.
Hi Julien,
It should be possible to use the paging API of the DOM helper to limit the amount of data and allow extra data to be loaded when needed. You can find a small code snippet of this here (Read page by page): https://docs.dataminer.services/user-guide/Advanced_Modules/DOM/DomHelper_class.html#reading-dom-data
You can initialize the paging helper and store it in a private field in your GQI data source. Every time the 'GetNextPage' method is called of your data source, you can call the 'MoveToNextPage' and 'GetCurrentPage' methods on the paging helper.