This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query GetHero { | |
hero(id: "CkhurmMjZW") { | |
id, | |
name, | |
createdAt, | |
updatedAt | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query FindObject { | |
objects { | |
find(className: "Hero") { | |
count, | |
results | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query FindObject { | |
objects { | |
find(className: "Hero") { | |
count, | |
results | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query FindHero { | |
objects { | |
findHero { | |
count, | |
results { | |
objectId, | |
name, | |
createdAt, | |
updatedAt | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query GetHero { | |
hero(objectId: "rR8jmFRnkS") { | |
objectId, | |
name, | |
createdAt, | |
updatedAt | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query FindHero { | |
heroes{ | |
count, | |
results { | |
id, | |
name, | |
createdAt, | |
updatedAt | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation UpdateObject { | |
objects { | |
update(className: "Hero", objectId: "ffyOBOTk85", fields: { height: 5.6 }) { | |
updatedAt | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation UpdateObject { | |
update(className: "Hero", objectId: "rR8jmFRnkS", fields: { height: 5.6 }) { | |
updatedAt | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation UpdateHero { | |
objects { | |
updateHero(objectId: "jJH0aQQjfs", fields: { height: 3.6 }) { | |
updatedAt | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutation UpdateObject { | |
updateHero(objectId: "rR8jmFRnkS" fields:{ | |
height: 5.6 | |
}){ | |
updatedAt | |
} | |
} |