# Limiting results in nested child of list type

**URL:** <https://discuss.dgraph.io/t/limiting-results-in-nested-child-of-list-type/17454>\
**Category:** GraphQL\
**Tags:** kind:question, dgraph, help-wanted\
**Created:** [June 26, 2022, 8:41pm UTC](https://discuss.dgraph.io/t/limiting-results-in-nested-child-of-list-type/17454 "2022-06-26T20:41:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![broy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/broy/32/9581_2.png) [@broy](https://discuss.dgraph.io/u/broy)\
**Post date:** [June 26, 2022, 8:41pm UTC](https://discuss.dgraph.io/t/limiting-results-in-nested-child-of-list-type/17454/1 "2022-06-26T20:41:46Z")

</div>

query listTweets($limit:Int!, $offset: Int){queryTweet(first:$limit,offset:$offset,filter: {not:{ has : replyTo }}) { author { screenName } replyTo { id }, replies(first: 2) { id }}

I only want to get max two items from replies array ?

---

<div class="post-metadata">

**Author:** ![broy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/broy/32/9581_2.png) [@broy](https://discuss.dgraph.io/u/broy)\
**Post date:** [June 27, 2022, 10:33pm UTC](https://discuss.dgraph.io/t/limiting-results-in-nested-child-of-list-type/17454/2 "2022-06-27T22:33:14Z")

</div>

Basically I want to know if pagination in child nodes is possible

---

<div class="post-metadata">

**Author:** ![pshaddel](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/pshaddel/32/11584_2.png) [@pshaddel](https://discuss.dgraph.io/u/pshaddel)\
**Post date:** [June 30, 2022, 11:40am UTC](https://discuss.dgraph.io/t/limiting-results-in-nested-child-of-list-type/17454/3 "2022-06-30T11:40:07Z")

</div>

Hello @broy  
Pagination works in child nodes. The logic is super simple, it executes your limit after getting all uids and it does not matter if this is child node or parent.
