mysqljs/mysql

Read data as array

Open

#770 geöffnet am 24. März 2014

Auf GitHub ansehen
 (14 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)JavaScript (18.137 Stars) (2.502 Forks)batch import
featurehelp wanted

Beschreibung

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.

Contributor Guide