Anchor to node
querynode
Retrieves any object that implements the Node interface by its globally-unique ID. Use inline fragments to access type-specific fields on the returned object.
This query follows the Relay specification and is commonly used for refetching objects when you have their ID but need updated data.
Anchor to Arguments
Arguments
- id (ID!)
- •ID!required
The ID of the Node to return.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Node (Node)
- Anchor to NodeNode•Node
Enables global object identification following the Relay specification. Any type implementing this interface has a globally-unique
idfield and can be fetched directly using thenodeornodesqueries.- •ID!non-null
A globally-unique ID.
- •ID!
Was this section helpful?