{"action":"opened","issue":{"url":"https://api.github.com/repos/preaction/ETL-Yertl/issues/136","labels_url":"https://api.github.com/repos/preaction/ETL-Yertl/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/preaction/ETL-Yertl/issues/136/comments","events_url":"https://api.github.com/repos/preaction/ETL-Yertl/issues/136/events","html_url":"https://github.com/preaction/ETL-Yertl/issues/136","id":118733642,"number":136,"title":"[ysql] Add SQL helper options","user":{"login":"preaction","id":53707,"avatar_url":"https://avatars.githubusercontent.com/u/53707?v=3","gravatar_id":"","url":"https://api.github.com/users/preaction","html_url":"https://github.com/preaction","followers_url":"https://api.github.com/users/preaction/followers","following_url":"https://api.github.com/users/preaction/following{/other_user}","gists_url":"https://api.github.com/users/preaction/gists{/gist_id}","starred_url":"https://api.github.com/users/preaction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preaction/subscriptions","organizations_url":"https://api.github.com/users/preaction/orgs","repos_url":"https://api.github.com/users/preaction/repos","events_url":"https://api.github.com/users/preaction/events{/privacy}","received_events_url":"https://api.github.com/users/preaction/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/preaction/ETL-Yertl/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-25T00:35:46Z","updated_at":"2015-11-25T00:35:46Z","closed_at":null,"body":"It would be really nice if `ysql` could write our SQL for us. There are lots of very common things that should be a lot easier to do, like:\r\n\r\n```\r\n$ ysql prod --select users | ysql dev --insert users\r\n# Equivalent to:\r\n$ ysql prod 'SELECT * FROM users' | ysql dev 'INSERT INTO users ( <columns> ) VALUES ( <values> )'\r\n```\r\n\r\nThe typing saved, especially on the `--insert`, is enormous!"}}