Skip to content

joyfulviper/graphql

Repository files navigation

R(Query)

{
    getBooks(count: 3, offset: 0) {
    id
  	title
    author {
      id
    }
  }
}

CUD(Mutation)

mutation {
  createBook(input: {
    id: "4"
    title: "난중일기"
    year: 2024
    author: {
      id:"4",
      firstName: "",
      lastName: "순신"
    }
  }) {
    id
    title
    year
    author {
      id
      firstName
      lastName
    }
  }
}


mutation {
    deleteBook(id: "1")
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published