mysqljs/mysql

Read data as array

Open

#770 ouverte le 24 mars 2014

Voir sur GitHub
 (14 commentaires) (4 réactions) (0 assignés)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.

Guide contributeur