{"action":"opened","issue":{"url":"https://api.github.com/repos/yathit/ydn-db/issues/97","repository_url":"https://api.github.com/repos/yathit/ydn-db","labels_url":"https://api.github.com/repos/yathit/ydn-db/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/yathit/ydn-db/issues/97/comments","events_url":"https://api.github.com/repos/yathit/ydn-db/issues/97/events","html_url":"https://github.com/yathit/ydn-db/issues/97","id":134887531,"number":97,"title":"Feature for Queryresult, to return primary key","user":{"login":"tjunussov","id":2089278,"avatar_url":"https://avatars.githubusercontent.com/u/2089278?v=3","gravatar_id":"","url":"https://api.github.com/users/tjunussov","html_url":"https://github.com/tjunussov","followers_url":"https://api.github.com/users/tjunussov/followers","following_url":"https://api.github.com/users/tjunussov/following{/other_user}","gists_url":"https://api.github.com/users/tjunussov/gists{/gist_id}","starred_url":"https://api.github.com/users/tjunussov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjunussov/subscriptions","organizations_url":"https://api.github.com/users/tjunussov/orgs","repos_url":"https://api.github.com/users/tjunussov/repos","events_url":"https://api.github.com/users/tjunussov/events{/privacy}","received_events_url":"https://api.github.com/users/tjunussov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-19T15:07:54Z","updated_at":"2016-02-19T15:07:54Z","closed_at":null,"body":"It would be nice to have second parameter as array of Primary keys\r\n\r\n```\r\nvar df = db.values('sales');\r\n  df.done(function (items) {\r\n\tconsole.log(items);\r\n  });\r\n```\r\nto smth \r\n\r\nvar df = db.values('sales');\r\n  df.done(function (items,pks) {\r\n\tconsole.log(items);\r\n        console.log(pks); // Echo primary keys\r\n  });"}}