In some languages when you query a database you have an option to fetch row by row or fetchall and get all results at once.
fetch is more memory efficient but slower overall.
In Go I'd like to fetchall but it seems none of the sql drivers support it.
Does anyone know of a way to accomplish this?
Thank you in advice