GetChildren without paging and using IQuery parameter
Hello i would like to do something similar but without paging
_contentService.GetPagedChildren(currentPageId, pageIndex,
pageSize, out var recordsCount, filter);
Is this possible? All i want to get is all children that respect the filter and be really quick. i saw that GetPagedChildren accept an IQuery<> parameter so i think the filtering is translated into SQL.
you could just set the page size to something very large, however fetching very large datasets isn't a great idea which is why it uses paging, but if you know there won't be many results then it wouldn't be a problem.
Alternately you could use an examine searchquery to find what you require which would probably be quicker depending what your filter is on
GetChildren without paging and using IQuery parameter
Hello i would like to do something similar but without paging
_contentService.GetPagedChildren(currentPageId, pageIndex, pageSize, out var recordsCount, filter);
Is this possible? All i want to get is all children that respect the filter and be really quick. i saw that GetPagedChildren accept an IQuery<> parameter so i think the filtering is translated into SQL.
Thanks
you could just set the page size to something very large, however fetching very large datasets isn't a great idea which is why it uses paging, but if you know there won't be many results then it wouldn't be a problem.
Alternately you could use an examine searchquery to find what you require which would probably be quicker depending what your filter is on
is working on a reply...