https://github.com/44437/graphql-crud
https://github.com/44437/graphql-crud
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/44437/graphql-crud
- Owner: 44437
- Created: 2023-01-08T13:37:20.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T13:46:48.000Z (over 2 years ago)
- Last Synced: 2025-04-14T07:56:14.423Z (3 months ago)
- Language: Go
- Size: 14.6 KB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```graphql
mutation createTodo {
createTodo(input: { text: "todo-1", userId: "001" }) {
todoId
text
}
}mutation updateTodo {
updateTodo(todoId:"1", userId:"002") {
todoId
text
}
}mutation deleteTodo {
deleteTodo(todoId:"3", userId:"002") {
todoId
text
}
}query readTodos {
todos {
text
done
id
user {
name
id
}
}
}
```