{"action":"created","issue":{"url":"https://api.github.com/repos/graphql-java/graphql-java/issues/443","repository_url":"https://api.github.com/repos/graphql-java/graphql-java","labels_url":"https://api.github.com/repos/graphql-java/graphql-java/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/graphql-java/graphql-java/issues/443/comments","events_url":"https://api.github.com/repos/graphql-java/graphql-java/issues/443/events","html_url":"https://github.com/graphql-java/graphql-java/issues/443","id":229888394,"number":443,"title":"mutation to add data into multiple tables in a single query. ","user":{"login":"ajmalsha","id":26410763,"avatar_url":"https://avatars1.githubusercontent.com/u/26410763?v=3","gravatar_id":"","url":"https://api.github.com/users/ajmalsha","html_url":"https://github.com/ajmalsha","followers_url":"https://api.github.com/users/ajmalsha/followers","following_url":"https://api.github.com/users/ajmalsha/following{/other_user}","gists_url":"https://api.github.com/users/ajmalsha/gists{/gist_id}","starred_url":"https://api.github.com/users/ajmalsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajmalsha/subscriptions","organizations_url":"https://api.github.com/users/ajmalsha/orgs","repos_url":"https://api.github.com/users/ajmalsha/repos","events_url":"https://api.github.com/users/ajmalsha/events{/privacy}","received_events_url":"https://api.github.com/users/ajmalsha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-19T07:04:20Z","updated_at":"2017-05-19T23:42:15Z","closed_at":"2017-05-19T12:44:15Z","body":"Hi ,\r\n\r\nPlease explain how to add data into two different tables having one to many mapping.\r\n\r\nFor example -\r\n\r\nI have two tables like author and post . author table having one to many mapping to the post table . I want to insert post details (to Post table) while inserting the Author details(to Author table) in single mutation.Then I need to update the author table with author details and post table with post details."},"comment":{"url":"https://api.github.com/repos/graphql-java/graphql-java/issues/comments/302834093","html_url":"https://github.com/graphql-java/graphql-java/issues/443#issuecomment-302834093","issue_url":"https://api.github.com/repos/graphql-java/graphql-java/issues/443","id":302834093,"user":{"login":"bbakerman","id":1661769,"avatar_url":"https://avatars1.githubusercontent.com/u/1661769?v=3","gravatar_id":"","url":"https://api.github.com/users/bbakerman","html_url":"https://github.com/bbakerman","followers_url":"https://api.github.com/users/bbakerman/followers","following_url":"https://api.github.com/users/bbakerman/following{/other_user}","gists_url":"https://api.github.com/users/bbakerman/gists{/gist_id}","starred_url":"https://api.github.com/users/bbakerman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbakerman/subscriptions","organizations_url":"https://api.github.com/users/bbakerman/orgs","repos_url":"https://api.github.com/users/bbakerman/repos","events_url":"https://api.github.com/users/bbakerman/events{/privacy}","received_events_url":"https://api.github.com/users/bbakerman/received_events","type":"User","site_admin":false},"created_at":"2017-05-19T23:42:15Z","updated_at":"2017-05-19T23:42:15Z","body":"I will link you to our documentation on mutations\r\n\r\nhttp://graphql-java.readthedocs.io/en/latest/execution.html#mutations\r\n\r\nIn short you need to write a DataFetcher that implements your desired mutation"}}
{"actor":{"display_login":"bbakerman"}}