Home Graphql的使用
Post
Cancel

Graphql的使用

refer to: https://www.apollographql.com/blog/community/backend/using-graphql-with-ruby-on-rails/

上面的文章是讲 一步一步的构建的。

下面我们看一下 graphql的基本使用

1. 首先,我们要有个 graphQL  server

然后,如下图:

first: 查询多少条

skip: 从位置多少的记录开始查询

This post is licensed under CC BY 4.0 by the author.