{"action":"created","issue":{"url":"https://api.github.com/repos/chilltemp/tedious-promises/issues/1","repository_url":"https://api.github.com/repos/chilltemp/tedious-promises","labels_url":"https://api.github.com/repos/chilltemp/tedious-promises/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/chilltemp/tedious-promises/issues/1/comments","events_url":"https://api.github.com/repos/chilltemp/tedious-promises/issues/1/events","html_url":"https://github.com/chilltemp/tedious-promises/issues/1","id":133846269,"number":1,"title":"Please support array of arrays as result option","user":{"login":"BerndWessels","id":1776695,"avatar_url":"https://avatars.githubusercontent.com/u/1776695?v=3","gravatar_id":"","url":"https://api.github.com/users/BerndWessels","html_url":"https://github.com/BerndWessels","followers_url":"https://api.github.com/users/BerndWessels/followers","following_url":"https://api.github.com/users/BerndWessels/following{/other_user}","gists_url":"https://api.github.com/users/BerndWessels/gists{/gist_id}","starred_url":"https://api.github.com/users/BerndWessels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BerndWessels/subscriptions","organizations_url":"https://api.github.com/users/BerndWessels/orgs","repos_url":"https://api.github.com/users/BerndWessels/repos","events_url":"https://api.github.com/users/BerndWessels/events{/privacy}","received_events_url":"https://api.github.com/users/BerndWessels/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chilltemp/tedious-promises/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-16T00:00:28Z","updated_at":"2016-04-25T02:05:57Z","closed_at":null,"body":"Hi\r\nCould you add an option that returns the result as an array of arrays?\r\n\r\nSo basically the result should be an array of rows, and each row is an array of columns.\r\n\r\n    result =\r\n    {\r\n        columns: ['col_1', 'col_2'],\r\n        rows:\r\n        [\r\n            [ 'row1_col1', 'row1_col2' ],\r\n            [ 'row2_col1', 'row2_col2' ]\r\n        ]\r\n    };\r\n\r\nThe main reason is to reduce the amount of data I have to transfer to my client and repeating the column names over and over again is such a waste.\r\n\r\nIt also matches the CSV format much better which is often used with charts like D3.\r\n\r\nThanks\r\nBernd"},"comment":{"url":"https://api.github.com/repos/chilltemp/tedious-promises/issues/comments/214093101","html_url":"https://github.com/chilltemp/tedious-promises/issues/1#issuecomment-214093101","issue_url":"https://api.github.com/repos/chilltemp/tedious-promises/issues/1","id":214093101,"user":{"login":"chilltemp","id":8992024,"avatar_url":"https://avatars.githubusercontent.com/u/8992024?v=3","gravatar_id":"","url":"https://api.github.com/users/chilltemp","html_url":"https://github.com/chilltemp","followers_url":"https://api.github.com/users/chilltemp/followers","following_url":"https://api.github.com/users/chilltemp/following{/other_user}","gists_url":"https://api.github.com/users/chilltemp/gists{/gist_id}","starred_url":"https://api.github.com/users/chilltemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chilltemp/subscriptions","organizations_url":"https://api.github.com/users/chilltemp/orgs","repos_url":"https://api.github.com/users/chilltemp/repos","events_url":"https://api.github.com/users/chilltemp/events{/privacy}","received_events_url":"https://api.github.com/users/chilltemp/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T02:05:57Z","updated_at":"2016-04-25T02:05:57Z","body":"I've implemented most of your request.  What I did will return the rows with arrays of values, but without the column names header.\r\n\r\nIt's in the develop branch.   I've got 1 more ticket to complete before I do a npmjs release. "}}