sqlite_modern_cpp
sqlite_modern_cpp copied to clipboard
Unknown number of columns
Is it possible to process queries where the number of columns is not determined at compile time?
i dont know what you mean by that, i guess you could make a loop that just extracts with the >> operator repeatedly into a variable. Since these queries rely on runtime evaluations there is no "exact" type defined anyways, so as long as you somehow get to know how many cols the row should have at runtime its possible