Your question was unclear.

I would take a look at the code for [instantRows 
iterator](https://github.com/nim-lang/Nim/blob/master/lib/impure/db_mysql.nim#L187)
 and do something similar with the addition of calling 
[fetch_fields](https://nim-lang.org/docs/mysql.html#fetch_fields%2CPRES) to get 
field information from the result set and returning a data structure that 
includes field names and row results. 

Reply via email to