mutation createBook {
createBook(bookData: {title:“django-graphgl2”, author: “ns2250225”}) {
book {
title {
id,
title
},
author {
id,
name
}
}
ok
}
}
query {
allBooks {
id,
title {
id,
title
},
author {
id,
name
}
}
}
mutation createBook {
createBook(bookData: {title:“django-graphgl2”, author: “ns2250225”}) {
book {
title {
id,
title
},
author {
id,
name
}
}
ok
}
}
query {
allBooks {
id,
title {
id,
title
},
author {
id,
name
}
}
}