mysqljs/mysql

Read data as array

Open

#770 aberto em 24 de mar. de 2014

Ver no GitHub
 (14 comments) (4 reactions) (0 assignees)JavaScript (18.137 stars) (2.502 forks)batch import
featurehelp wanted

Description

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.

Guia do colaborador