The current implementation assumes that the schema of the table follows StdRow. There can be a few enhancements to the implementation:
- Currently StdRow is implemented using
std::vector. This can be changed to std::tuple, which will make the data to be inserted more type safe.
- Since a tuple cannot be traversed through a for loop, we may need to implement the function as a template. We can assume a limit on the number of columns.
The current implementation assumes that the schema of the table follows StdRow. There can be a few enhancements to the implementation:
std::vector. This can be changed tostd::tuple, which will make the data to be inserted more type safe.