title: Cursor Based Pagination Naming Convention in GraphQL
body: <p>In the GraphQL API, I often see naming conventions such as NQ and MQ as parameters used in cursor. This is an example, shown below,</p>
  <pre><code> &quot;data&quot;: {
      &quot;items&quot;: {
        &quot;totalCount&quot;: 351,
        &quot;pageInfo&quot;: {
          &quot;hasNextPage&quot;: true,
          &quot;hasPreviousPage&quot;: false,
          &quot;endCursor&quot;: &quot;Mw&quot;,
          &quot;startCursor&quot;: &quot;MQ&quot;
        },
        &quot;edges&quot;: [
          {
            &quot;cursor&quot;: &quot;MQ&quot;,
            &quot;node&quot;: {
              &quot;id&quot;: &quot;UGxhY2UtMzUy&quot;,
              &quot;displayName&quot;: &quot;Redbeard&quot;
            }
          },
          {
            &quot;cursor&quot;: &quot;Mg&quot;,
            &quot;node&quot;: {
              &quot;id&quot;: &quot;UGxhY2UtMzUx&quot;,
              &quot;displayName&quot;: &quot;Frey of Riverrun&quot;
            }
          },
          {
            &quot;cursor&quot;: &quot;Mw&quot;,
            &quot;node&quot;: {
              &quot;id&quot;: &quot;QmlsbGVyLTI=&quot;,
              &quot;displayName&quot;: &quot;Something Else&quot;
            }
          }
        ]
      }
    }
  }
  </code></pre>
  <p>Source:
  <a href="https://dev.to/tymate/first-dive-into-graphql-ruby-nak" rel="nofollow noreferrer">https://dev.to/tymate/first-dive-into-graphql-ruby-nak</a></p>
  <p>Other examples include this rails example: <a href="https://www.2n.pl/blog/graphql-pagination-in-rails" rel="nofollow noreferrer">https://www.2n.pl/blog/graphql-pagination-in-rails</a></p>
  <p>What are these naming conventions and how would you for example paginate?</p>