Code: Select all
Members.ID AS 'MemberID'
The m_FieldLookupMap variable is populated with a value "Members.ID" and not wit the alias "MemberID" . It seems the function sqlite3_column_name is returing this value.
When I tried the same db with CppSqlite3, It was returning the alias Field Name (it also uses the same function call).
Can you please let me know how to get the alias instead of the full field Name ?
Another Request : Can you please give a small template of how the Field Descriptor class should look it ? I'll try to add the feature to the databaselayer. Since dblayer doesnt support Field description I was forced to use CppSqlite3 along with this library.