You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This almost works, the problem is that in column.h the serialization always generate a "table.column" which does not work in this case.
A quick fix to improve it would be the following:
Using sqlite a statement like
select name from pragma_table_info('mytable')
is supported to get the column names of a database table.
With sqlpp11 I like to use it as a normal table, generating the struct for the columns and for the table like this:
and getting this information as a normal table:
This almost works, the problem is that in
column.h
the serialization always generate a "table.column" which does not work in this case.A quick fix to improve it would be the following:
Do you have a better idea to use the pragma_table_info in sqlpp11 or is it possible to exclude the table prefix on pragma tables like this fix?
The text was updated successfully, but these errors were encountered: