mysqljs/mysql

Read data as array

Open

#770 建立於 2014年3月24日

在 GitHub 查看
 (14 留言) (4 反應) (0 負責人)JavaScript (18,137 star) (2,502 fork)batch import
featurehelp wanted

描述

Is there option for getting records from mysql as flat array rather than object. Something like this { contractor_id: 199 , contractor_name: ... } represented as [199,"Andrew","Banks", 88.92, 55,15].

I want to speed up reading of 75k records, now it takes 35 seconds I am wandering is array representation would be transferred to node faster as 35 seconds.

貢獻者指南