Skip to content

Commit 8058e56

Browse files
katiekleinkatiegoinesrenebrandel
authored
filter out all but android (aws-amplify#6036)
Co-authored-by: katiegoines <[email protected]> Co-authored-by: Rene Brandel <[email protected]>
1 parent b34fec6 commit 8058e56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pages/lib/graphqlapi/relational/q/platform/[platform].mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ export const meta = {
33
description: `Learn more about how API (GraphQL) handles relationships between Models, such as "has one", "has many", "belongs to".`
44
};
55

6+
<InlineFilter filters={["android"]}>
7+
68
API (GraphQL) has the capability to handle relationships between Models, such as _has one_, _has many_, and _belongs to_. In Amplify GraphQL APIs, this is done with the `@hasOne`, `@hasMany` and `@belongsTo` directives as defined in the [GraphQL data modeling documentation](/cli/graphql/data-modeling).
79

810
By default, GraphQL APIs requests generate a selection set with a depth of 0. Connected relationship models are not returned in the initial request, but can be lazily loaded as needed with an additional API request. We provide mechanisms to customize the selection set, which allows connected relationships to be eagerly loaded on the initial request.
@@ -833,3 +835,5 @@ This query fetches a postEditor and eagerly loads its post and comments
833835
</BlockSwitcher>
834836
835837
</InlineFilter>
838+
839+
</InlineFilter>

0 commit comments

Comments
 (0)