lionixevolve / GraphQLSuiteCRM

GraphQL SuiteCRM - Integrate with SuiteCRM using GraphQL
19 stars 2 forks source link

Return next offset when using offset parameter #4

Open lmons opened 6 years ago

lmons commented 6 years ago

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

mrbarletta commented 6 years ago

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

lmons commented 6 years ago

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

mrbarletta commented 6 years ago

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