Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Пагинация в запросах #104

Open
linpus opened this issue May 7, 2023 · 0 comments
Open

Пагинация в запросах #104

linpus opened this issue May 7, 2023 · 0 comments

Comments

@linpus
Copy link

linpus commented May 7, 2023

Как мне получить следующую порцию данных в таком коде?
Возвращает 1000 (max limit) позиций из 1075. Как мне получить осталные 75?
Есть ли встроенные методы для этого?

$report = StockReport::all($sklad, StockReportQuerySpecs::create([
'store.id' => $store->getMeta()->getId(),
'stockMode' => 'notEmpty',
'moment' => date('Y-m-d H:i:s', $moment),
'limit' => 1000,
]));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant