11-03-2016, 05:01 PM
If you want to output the values in all rows, you can do this:
for a in db:rows('SELECT * FROM table') do for k, v in pairs(a) do LOG(k .. " = " .. v) end end