Skip to main content

getPosts

Get list of Posts

getPosts(
where: PostWhere
limit: Int
offset: Int
): [Post!]!

Arguments​

getPosts.where ● PostWhere input​

getPosts.limit ● Int scalar​

Corresponds to the maximum number of items returned. Can be used in conjunction with “Offset” and “Order” to implement pagination.

getPosts.offset ● Int scalar​

Corresponds to the number of items skipped before the first returned result. Can be used in conjunction with “Limit” and “Order” to implement pagination.

Type​

Post object​

Post (language invariant)