Skip to content

Commit 4e51bda

Browse files
copy edits
1 parent ff23e78 commit 4e51bda

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

website/src/pages/en/subgraphs/querying/graphql-api.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ GraphQL serves as the query language for retrieving data from Subgraphs. This re
2323

2424
[GraphQL](https://graphql.org/learn/) is a query language for APIs and a runtime for executing those queries with your existing data. The Graph uses GraphQL to query Subgraphs.
2525

26-
To understand the larger role that GraphQL plays, review [developing](/subgraphs/developing/introduction/) and [creating a Subgraph](/developing/creating-a-subgraph/).
27-
2826
## Queries with GraphQL
2927

3028
In your Subgraph schema you define types called `Entities`. For each `Entity` type, `entity` and `entities` fields will be generated on the top-level `Query` type.
@@ -59,7 +57,7 @@ Query all `Token` entities:
5957

6058
### Sorting
6159

62-
When querying a collection, you may:
60+
When querying a collection, you can:
6361

6462
- Use the `orderBy` parameter to sort by a specific attribute.
6563
- Use the `orderDirection` to specify the sort direction, `asc` for ascending or `desc` for descending.
@@ -116,7 +114,7 @@ Query the first 10 tokens:
116114
}
117115
```
118116

119-
To query for groups of entities in the middle of a collection, the `skip` parameter may be used in conjunction with the `first` parameter to skip a specified number of entities starting at the beginning of the collection.
117+
To query for groups of entities in the middle of a collection, the `skip` parameter can be used in conjunction with the `first` parameter to skip a specified number of entities starting at the beginning of the collection.
120118

121119
#### Example using `first` and `skip`
122120

0 commit comments

Comments
 (0)