Feature Request: RowMode
tmtron opened this issue · 0 comments
tmtron commented
It would be great if we could set the RowMode to array
, so that the stream returns arrays, instead of JSON objects.
use-case:
e.g. when we want to export the data to a csv file, it seems a waste of CPU cycles that this lib converts the db-data to a JSON object and then we must convert this JSON object back to an array (and restoring the order of the fields - which is not guaranteed when we simply loop over the fields of the JSON object).