Is there a way to access SQLite results by column name (like a C++ Map) instead of index number in C/C++?
For example, Python’s SQLite access allows dictionary access
Results = Query("SELECT * FROM table");
print Results['colname']
print Results['anothercol']
Any similar methods available in C++ for the SQLite’s interface?
I’d go with Daniel in recommending SQLAPI++ at http://www.sqlapi.com — at http://www.sqlapi.com/HowTo/fetch.html you can find a simple example of fetching fields by name. The example is a bit verbose so here’s a code-only gist: