{"action":"created","issue":{"url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/273","repository_url":"https://api.github.com/repos/sqlectron/sqlectron-gui","labels_url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/273/comments","events_url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/273/events","html_url":"https://github.com/sqlectron/sqlectron-gui/issues/273","id":194350656,"number":273,"title":"Add possibility to just execute query at current selector","user":{"login":"marvinrichter","id":4619764,"avatar_url":"https://avatars.githubusercontent.com/u/4619764?v=3","gravatar_id":"","url":"https://api.github.com/users/marvinrichter","html_url":"https://github.com/marvinrichter","followers_url":"https://api.github.com/users/marvinrichter/followers","following_url":"https://api.github.com/users/marvinrichter/following{/other_user}","gists_url":"https://api.github.com/users/marvinrichter/gists{/gist_id}","starred_url":"https://api.github.com/users/marvinrichter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marvinrichter/subscriptions","organizations_url":"https://api.github.com/users/marvinrichter/orgs","repos_url":"https://api.github.com/users/marvinrichter/repos","events_url":"https://api.github.com/users/marvinrichter/events{/privacy}","received_events_url":"https://api.github.com/users/marvinrichter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-08T14:34:28Z","updated_at":"2016-12-08T21:52:36Z","closed_at":null,"body":"It would be nice to just execute the Query at the current selector position.\r\n\r\nThis is currently possible with the combination of CTRL+L & CTRL+ENTER but only if the Query is a one-liner.\r\n\r\nI would even go as far as using CTRL+ENTER to reflect this behavior and maybe CTRL+SHIFT+ENTER to execute the whole Script."},"comment":{"url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/comments/265866613","html_url":"https://github.com/sqlectron/sqlectron-gui/issues/273#issuecomment-265866613","issue_url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/273","id":265866613,"user":{"login":"maxcnunes","id":680356,"avatar_url":"https://avatars.githubusercontent.com/u/680356?v=3","gravatar_id":"","url":"https://api.github.com/users/maxcnunes","html_url":"https://github.com/maxcnunes","followers_url":"https://api.github.com/users/maxcnunes/followers","following_url":"https://api.github.com/users/maxcnunes/following{/other_user}","gists_url":"https://api.github.com/users/maxcnunes/gists{/gist_id}","starred_url":"https://api.github.com/users/maxcnunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxcnunes/subscriptions","organizations_url":"https://api.github.com/users/maxcnunes/orgs","repos_url":"https://api.github.com/users/maxcnunes/repos","events_url":"https://api.github.com/users/maxcnunes/events{/privacy}","received_events_url":"https://api.github.com/users/maxcnunes/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T21:52:36Z","updated_at":"2016-12-08T21:52:36Z","body":"Although I think it is a very interesting and useful feature.We will not be able to implement that. Because we would need to have an [AST](https://en.wikipedia.org/wiki/Abstract_syntax_tree) for SQL and this should work as well for every DB we have support. So we would know for sure where the current query start and finish. Nowadays there isn't a library that has support for that. And implementing that ourselves would take a long time.\r\nSo unfortunately executing the query of the current selector position is not possible. But at least you can execute the current selected query."}}
{"actor":{"display_login":"maxcnunes"}}