Dato node client record limits

Are there any considerations with record limits and paging of results when using the nodejs client or is it handled by the client itself? I could not find anything in the docs about this.

Equally when there is relational data (linked records) are there any restrictions on how many linked records the client will lookup and return.

I’m used to using the graphQL library so far with the requirement to page the API but keen to use the client for ease of array manipulation and markdown writing.


hello @danielfascia

if you want the client can handle pagination for you. Have a look at the example here: https://www.datocms.com/docs/content-management-api/resources/item/instances

if you scroll a bit in the JS example you’ll see the option.

Otherwise you can paginate yourself if you need to. For links I’m not sure what you mean. We’ll show all the linked ids when you fetch. Maybe if you can share an example I can better understand?