# The ID scalar type represents a unique identifier, often used to refetch an object or as the key for a cache. The ID type is serialized in the same way as a String; however, defining it as an ID signifies that it is not intended to be human‐readable.
query {
hero {
name
}
droid(id: "2000") {
name
}
}
Languages with hasIds include GraphQL
View all concepts with or missing a hasIds measurement