lionixevolve/GraphQLSuiteCRM

Return next offset when using offset parameter

lmons opened this issue · 3 comments

lmons commented

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

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

lmons commented

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

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