代码拉取完成,页面将自动刷新
# Welcome to GraphiQL
#
# GraphiQL is an in-browser tool for writing, validating, and
# testing GraphQL queries.
#
# Type queries into this side of the screen, and you will see intelligent
# typeaheads aware of the current GraphQL type schema and live syntax and
# validation errors highlighted within the text.
#
# GraphQL queries typically start with a "{" character. Lines that start
# with a # are ignored.
#
# An example GraphQL query might look like:
#
# {
# field(arg: "value") {
# subField
# }
# }
#
# Keyboard shortcuts:
#
# Prettify Query: Shift-Ctrl-P (or press the prettify button above)
#
# Merge Query: Shift-Ctrl-M (or press the merge button above)
#
# Run Query: Ctrl-Enter (or press the play button above)
#
# Auto Complete: Ctrl-Space (or just start typing)
#
mutation {
createUser(user: { name: "ataola", age: 18 } )
updateUser(id: "576ca0cd1cdde", user: { name: "苏坡爱豆", age: 30 })
deleteUser(id: "576ca0cd1cdde")
}
query {
getUsers {
id,
name,
age
},
getUser(id: "576ca0cd1cdde") {
id,
name,
age
}
}
mutation createUser($user: UserInput) {
createUser(user: $user)
}
{
"user": {
"name": "zjt",
"age": 25
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。