使用游标获取结果 cur = conn:execute("select * from tb_test") row = cur:fetch ({}, "a") while row do -- do something row = cur:fetch (row, "a") end