{"action":"opened","issue":{"url":"https://api.github.com/repos/brianc/node-sql/issues/233","labels_url":"https://api.github.com/repos/brianc/node-sql/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/brianc/node-sql/issues/233/comments","events_url":"https://api.github.com/repos/brianc/node-sql/issues/233/events","html_url":"https://github.com/brianc/node-sql/issues/233","id":68366291,"number":233,"title":"Support for UNION and others Set Operators ?","user":{"login":"BeeDi","id":1668773,"avatar_url":"https://avatars.githubusercontent.com/u/1668773?v=3","gravatar_id":"","url":"https://api.github.com/users/BeeDi","html_url":"https://github.com/BeeDi","followers_url":"https://api.github.com/users/BeeDi/followers","following_url":"https://api.github.com/users/BeeDi/following{/other_user}","gists_url":"https://api.github.com/users/BeeDi/gists{/gist_id}","starred_url":"https://api.github.com/users/BeeDi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BeeDi/subscriptions","organizations_url":"https://api.github.com/users/BeeDi/orgs","repos_url":"https://api.github.com/users/BeeDi/repos","events_url":"https://api.github.com/users/BeeDi/events{/privacy}","received_events_url":"https://api.github.com/users/BeeDi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-14T13:02:22Z","updated_at":"2015-04-14T13:02:22Z","closed_at":null,"body":"Any idea on how to implement set operators like Union to combine multiple Select ?\r\nAn example for the API could be : \r\n```javascript\r\ntable1.select(table1.star()).from(table1)\r\n.union(table2.select(table2.star()).from(table2)).toQuery();\r\n```\r\nWhich would produce the following SQL :\r\n```sql\r\nSELECT * \r\nFROM table1\r\nUNION \r\nSELECT * \r\nFROM table2\r\n```\r\nThanks\r\n\r\n"}}