Neo4j GraphQL Library Docs
Docs
Neo4j DBMS
  • Getting Started
  • Operations
  • Migration and Upgrade
  • Status Codes
  • Java Reference
  • Kerberos Add-on
  • Change Data Capture (CDC)
Neo4j Aura
  • Neo4j Aura
  • Neo4j AuraDB
  • Neo4j AuraDS
Neo4j Tools
  • Neo4j Bloom
  • Neo4j Browser
  • Neo4j Data Importer
  • Neo4j Desktop
  • Neo4j Ops Manager
Neo4j Graph Data Science
  • Neo4j Graph Data Science Library
Cypher Query Language
  • Cypher
  • Cypher Cheat Sheet
  • APOC Library
Create applications
  • Python Driver
  • Go Driver
  • Java Driver
  • JavaScript Driver
  • .Net Driver
  • Neo4j GraphQL Library
  • HTTP API
  • OGM Library
  • Spring Data Neo4j
  • Neo4j Connector for Apache Spark
  • Neo4j Connector for Apache Kafka
Labs
arrows.app
  • Details
  • arrows.app
APOC Extended
  • Documentation
  • Developer Guide
Halin
ETL Tool
  • Details
  • Documentation
Neo4j Migrations
  • Details
  • Documentation
Neo4j Plugin For Liquibase
  • Details
  • Documentation
Neosemantics
  • Getting Started
  • Documentation
Neo4j Helm
  • Details
  • Documentation
NeoDash
  • Details
  • Documentation
neomodel
  • Details
  • Documentation
Get Help
GraphAcademy
  • Free, Self Paced Training
  • Certification
Community Forum
Discord Chat
Knowledge Base
Neo4j Developer Blog
Neo4j Videos
Get Started Free
Search
Product Version
    • Neo4j GraphQL Library
      • Getting started
        • Neo4j GraphQL Toolbox
      • Type definitions
        • Types
          • Scalar
          • Temporal
          • Spatial
          • Interface
          • Union
          • Relationships
        • Directives
          • Basics
          • Autogeneration
          • Custom directives
          • @cypher
          • Default values
          • Database mapping
          • Indexes and constraints
      • Schema configuration
        • Type configuration
        • Global configuration
        • Field configuration
      • Queries and aggregations
        • Queries
        • Aggregations
        • Filtering
        • Sorting
        • Pagination
          • Offset-based pagination
          • Cursor-based pagination
      • Mutations
        • create
        • update
        • delete
      • Subscriptions
        • Getting started
        • Events
        • Filtering
        • Horizontal scaling
        • Engines
      • Custom resolvers
      • Authentication and Authorization
        • Configuration
        • Authentication
        • Authorization
        • Impersonation and user switching
        • Operations
      • Introspector
      • Migration guide
        • Authentication and Authorization
        • OGM
      • OGM
        • Installation
        • Directives
        • Selection set
        • Type generation
        • API Reference
      • Driver configuration
      • Frameworks and integrations
        • Apollo Federation
      • Troubleshooting
      • Deprecations

Is this page helpful?

  • Neo4j GraphQL Library
  • Queries and aggregations
  • Pagination
Edit this Page

Pagination

The Neo4j GraphQL Library offers two mechanisms for pagination:

  • Offset-based pagination - Pagination based on offsets, often associated with navigation via pages.

  • Cursor-based pagination - Pagination based on cursors, often associated with infinitely-scrolling applications.

Sorting Offset-based pagination

Learn

  • Sandbox
  • Neo4j Community Site
  • Neo4j Developer Blog
  • Neo4j Videos
  • GraphAcademy
  • Neo4j Labs

Social

  • Twitter
  • Meetups
  • Github
  • Stack Overflow
  • Want to Speak?

Contact Us →

  • US: 1-855-636-4532
  • Sweden +46 171 480 113
  • UK: +44 20 3868 3223
  • France: +33 (0) 1 88 46 13 20

© 2023 Neo4j, Inc.
Terms | Privacy | Sitemap

Neo4j®, Neo Technology®, Cypher®, Neo4j® Bloom™ and Neo4j® Aura™ are registered trademarks of Neo4j, Inc. All other marks are owned by their respective companies.