1 Star 0 Fork 1

璀错/study-nodejs

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
server-4.query 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
璀错 提交于 2021-09-21 11:13 +08:00 . ✨ feat: finish graphql demo with react
# 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
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/taoge2021/study-nodejs.git
git@gitee.com:taoge2021/study-nodejs.git
taoge2021
study-nodejs
study-nodejs
master

搜索帮助