OS: Windows 10 Pro Node: v8.11.3 Prisma: prisma/1....
# orm-help
t
OS: Windows 10 Pro Node: v8.11.3 Prisma: prisma/1.11.1 (windows-x64) Boilerplate: Advanced @nilan So, I wish to update the feed query to handle pagination and return the record count, which in graphcool framework I do as follows:
Copy code
query allPostsCommentsQuery ($first: Int, $skip: Int, $orderBy: PostOrderBy) {
    _allPostsesMeta {
      count
    }
}
How do I return the count in this prisma instance?
Copy code
const FEED_QUERY = gql`
  query FeedQuery($first: Int, $skip: Int, $orderBy: PostOrderByInput) {
    feed(first: $first, skip: $skip, orderBy: $orderBy) {
      id
      text
      title
      isPublished
      author {
        name
      }
    }
  }
`
n
Please describe your situation in a new Forum question: https://www.prisma.io/forum/. Your current post does not include enough context to fully answer it. Thanks.
t
@nilan It was aggregate {count} I was after.