{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5727","repository_url":"https://api.github.com/repos/rethinkdb/rethinkdb","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5727/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5727/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5727/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/5727","id":151360115,"number":5727,"title":"GetAll does not support list input","user":{"login":"sandesh-kulkarni","id":18698855,"avatar_url":"https://avatars.githubusercontent.com/u/18698855?v=3","gravatar_id":"","url":"https://api.github.com/users/sandesh-kulkarni","html_url":"https://github.com/sandesh-kulkarni","followers_url":"https://api.github.com/users/sandesh-kulkarni/followers","following_url":"https://api.github.com/users/sandesh-kulkarni/following{/other_user}","gists_url":"https://api.github.com/users/sandesh-kulkarni/gists{/gist_id}","starred_url":"https://api.github.com/users/sandesh-kulkarni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandesh-kulkarni/subscriptions","organizations_url":"https://api.github.com/users/sandesh-kulkarni/orgs","repos_url":"https://api.github.com/users/sandesh-kulkarni/repos","events_url":"https://api.github.com/users/sandesh-kulkarni/events{/privacy}","received_events_url":"https://api.github.com/users/sandesh-kulkarni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/19","html_url":"https://github.com/rethinkdb/rethinkdb/milestones/notabug","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/19/labels","id":299349,"number":19,"title":"notabug","description":"It's a feature. The issue describes a RethinkDB feature or design choice as if it was a bug.","creator":{"login":"AtnNn","id":706854,"avatar_url":"https://avatars.githubusercontent.com/u/706854?v=3","gravatar_id":"","url":"https://api.github.com/users/AtnNn","html_url":"https://github.com/AtnNn","followers_url":"https://api.github.com/users/AtnNn/followers","following_url":"https://api.github.com/users/AtnNn/following{/other_user}","gists_url":"https://api.github.com/users/AtnNn/gists{/gist_id}","starred_url":"https://api.github.com/users/AtnNn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtnNn/subscriptions","organizations_url":"https://api.github.com/users/AtnNn/orgs","repos_url":"https://api.github.com/users/AtnNn/repos","events_url":"https://api.github.com/users/AtnNn/events{/privacy}","received_events_url":"https://api.github.com/users/AtnNn/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":160,"state":"closed","created_at":"2013-03-29T21:07:05Z","updated_at":"2016-06-20T20:12:38Z","due_on":null,"closed_at":"2013-05-13T23:08:44Z"},"comments":5,"created_at":"2016-04-27T11:11:42Z","updated_at":"2016-06-23T19:10:57Z","closed_at":"2016-04-27T18:25:28Z","body":"r.table('xyz').getAll([1,2]) - in data explorer displays - \"No results returned.\"\r\n\r\nSimilarly in python - r.table('xyz').get_all([1,2]).run(con).next() - results in error message saying cursor is empty.\r\n\r\nThe feature is important as one can define the list of values in a variable and pass the variable to getAll like -\r\n\r\nx=[1,2]\r\nr.table('xyz').getAll(x) \r\n\r\nWhat works: r.table('xyz').getAll(1,2) - works. This means that getAll currently accepts comma separated values but does not accept list of values.\r\n\r\nNote: Table 'xyz' contains a primary_key which has values 1,2,3,... This behaviour is same for secondary index. \r\n\r\nNote2: pluck does accept list of column names as input which makes life a lot easier.   \r\n\r\nUpdate: I understood the problem in giving out the feature. The list is supposed to be used with a compound index. The get around would be to allow a list of list or a tuple as input for getAll for a simple index for plucking particular rows from the database."},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/228153819","html_url":"https://github.com/rethinkdb/rethinkdb/issues/5727#issuecomment-228153819","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5727","id":228153819,"user":{"login":"chrisabrams","id":527740,"avatar_url":"https://avatars.githubusercontent.com/u/527740?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisabrams","html_url":"https://github.com/chrisabrams","followers_url":"https://api.github.com/users/chrisabrams/followers","following_url":"https://api.github.com/users/chrisabrams/following{/other_user}","gists_url":"https://api.github.com/users/chrisabrams/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisabrams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisabrams/subscriptions","organizations_url":"https://api.github.com/users/chrisabrams/orgs","repos_url":"https://api.github.com/users/chrisabrams/repos","events_url":"https://api.github.com/users/chrisabrams/events{/privacy}","received_events_url":"https://api.github.com/users/chrisabrams/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T19:10:57Z","updated_at":"2016-06-23T19:10:57Z","body":"What I mean is, show an example using `r.args`. As someone who didn't know what `r.args` was until yesterday, I did not understand :/"}}
{"actor":{"display_login":"chrisabrams"}}