{"action":"opened","issue":{"url":"https://api.github.com/repos/orientechnologies/orientjs/issues/81","labels_url":"https://api.github.com/repos/orientechnologies/orientjs/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientjs/issues/81/comments","events_url":"https://api.github.com/repos/orientechnologies/orientjs/issues/81/events","html_url":"https://github.com/orientechnologies/orientjs/issues/81","id":104778583,"number":81,"title":"OrientDB.RequestError: Error on parsing query Query","user":{"login":"ghadeerrahhal","id":2394322,"avatar_url":"https://avatars.githubusercontent.com/u/2394322?v=3","gravatar_id":"","url":"https://api.github.com/users/ghadeerrahhal","html_url":"https://github.com/ghadeerrahhal","followers_url":"https://api.github.com/users/ghadeerrahhal/followers","following_url":"https://api.github.com/users/ghadeerrahhal/following{/other_user}","gists_url":"https://api.github.com/users/ghadeerrahhal/gists{/gist_id}","starred_url":"https://api.github.com/users/ghadeerrahhal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghadeerrahhal/subscriptions","organizations_url":"https://api.github.com/users/ghadeerrahhal/orgs","repos_url":"https://api.github.com/users/ghadeerrahhal/repos","events_url":"https://api.github.com/users/ghadeerrahhal/events{/privacy}","received_events_url":"https://api.github.com/users/ghadeerrahhal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-03T20:47:50Z","updated_at":"2015-09-03T20:47:50Z","closed_at":null,"body":"```javascript\r\n/*This does not work and results in the following err:\r\n\r\nOrientDB.RequestError: Error on parsing query\r\nQuery:  \"#9:0\"\r\n------^\r\n    at Operation.parseError (/\r\n*/\r\n\r\nvar params = {params: {id: '#9:0'}};\r\n\r\ndb.exec('select expand(out()) from :id', params).then(function (records) {\r\n    console.log('records: ', records);\r\n},\r\nfunction(err) {\r\n    console.log(err);\r\n});\r\n\r\n//The following seems to be a workaround\r\ndb.exec('select expand(out()) from V WHERE @rid = :id', params).then(function (records) {\r\n    console.log('records: ', records);\r\n},\r\nfunction(err) {\r\n    console.log(err);\r\n});\r\n```"}}