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

Return next offset when using offset parameter #4

Open
lmons opened this issue May 19, 2018 · 3 comments
Open

Return next offset when using offset parameter #4

lmons opened this issue May 19, 2018 · 3 comments

Comments

@lmons
Copy link

lmons commented May 19, 2018

Using GraphiQL, i can query sugarcrm modules and i get just 20 first records. how can i get all records?
Thank you

@mrbarletta
Copy link
Member

Use limit and offset, otherwise it will be limited by the config.php records per page setting.

@lmons
Copy link
Author

lmons commented May 19, 2018

thanks @mrbarletta for your help, can i get next_offset from the response?

@mrbarletta mrbarletta changed the title first 20 records Return next offset when using offset parameter May 19, 2018
@mrbarletta
Copy link
Member

nice question, it doesn't currently but could be a nice feature.

I will add this link for future reference to add this functionality as it already exists on the sugar rest functionality.

Sugar Documentation

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

No branches or pull requests

2 participants