[odb-users] column order in sqlite table

Boris Kolpackov boris at codesynthesis.com
Thu Mar 5 05:58:11 EST 2015


Hi,

MM <finjulhich at gmail.com> writes:

> I have tables that have been generated by odb in sqlite3. Am I able
> to create a new table with a different order of the same columns
> to replace my existing table and C++ code would still be ok with
> that?

ODB doesn't rely on the order of columns in the tables. As long as
you haven't defined native views that use something like "SELECT *",
you will be fine.

Boris



More information about the odb-users mailing list