Skip to content

Instantly share code, notes, and snippets.

View signUp372.graphql
mutation SignUp {
users {
signUp(fields: { username: "somefolk", password: "somepassword" }) {
objectId,
createdAt,
sessionToken
}
}
}
View updateObject39Class.graphql
mutation UpdateObject {
updateHero(id: "CkhurmMjZW" fields:{
height: 5.6
}){
updatedAt
}
}
View updateObject38Class.graphql
mutation UpdateObject {
updateHero(objectId: "rR8jmFRnkS" fields:{
height: 5.6
}){
updatedAt
}
}
View updateObject372Class.graphql
mutation UpdateHero {
objects {
updateHero(objectId: "jJH0aQQjfs", fields: { height: 3.6 }) {
updatedAt
}
}
}
View updateObject38.graphql
mutation UpdateObject {
update(className: "Hero", objectId: "rR8jmFRnkS", fields: { height: 5.6 }) {
updatedAt
}
}
View updateObject372.graphql
mutation UpdateObject {
objects {
update(className: "Hero", objectId: "ffyOBOTk85", fields: { height: 5.6 }) {
updatedAt
}
}
}
View findObject39Class.graphql
query FindHero {
heroes{
count,
results {
id,
name,
createdAt,
updatedAt
}
}
View findObject38Class.graphql
query GetHero {
hero(objectId: "rR8jmFRnkS") {
objectId,
name,
createdAt,
updatedAt
}
}
View findObject372Class.graphql
query FindHero {
objects {
findHero {
count,
results {
objectId,
name,
createdAt,
updatedAt
}
View findObject38.graphql
query FindObject {
objects {
find(className: "Hero") {
count,
results
}
}
}
You can’t perform that action at this time.