You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createCollectionRequest->execute() is the same as createRequest->execute() without handling the paging problem. createCollectionRequest->getPage() and merge array until createCollectionRequest->isEnd() become true.
The text was updated successfully, but these errors were encountered:
@landall I'm working on a long-term support for pagination based on PHP iterators.
Meanwhile, I just released version 2.3.0, which added support for $options to Krizalys\Onedrive\Proxy::getChildren(). One option, top, allows you to set the maximum number of children to return. Example:
The default is 200, but OneDrive seems accept much higher values (millions), though you may experience memory issues. As you can see from the example above, you may also be able to leverage the orderBy option to pull certain children closer to the top and lower the number of children required.
Give it a try and let me know if it is an acceptable workaround to your issue.
createCollectionRequest->execute() is the same as createRequest->execute() without handling the paging problem. createCollectionRequest->getPage() and merge array until createCollectionRequest->isEnd() become true.
The text was updated successfully, but these errors were encountered: