mysqljs/mysql

Read data as array

Open

#770 aperta il 24 mar 2014

Vedi su GitHub
 (14 commenti) (4 reazioni) (0 assegnatari)JavaScript (2502 fork)batch import
featurehelp wanted

Metriche repository

Star
 (18.137 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor