Cursor-based pagination GraphQL

To implement infinite paging for user-generated content management within the service, cursor paging is required.

As the service grows and the volume of UGC content increases, the current option for Squidex to display this massive content to users seems to involve implementing MongoDB queries directly to retrieve data.

This problem can be solved to some extent if GraphQL supports cursor paging.

reference
contentful graphql-pagination
apollo-graphql
relay-spec

I understand the API but I do not understand how it would be implemented internally and how it would improve things.