[odb-users] design questions: c++ / python / sqlite

Boris Kolpackov boris at codesynthesis.com
Fri Jun 6 05:14:07 EDT 2014


Hi,

MM <finjulhich at gmail.com> writes:

> Is the value of typeid col the name of the derived class?

Yes, the fully-qualified class name.


> Do I also need a single row in each derived table?

Yes. You could try to persist one of the derived classes from
C++ and inspect the resulting content in the database. That
should give you a pretty good idea on what needs to be done in
Python.

Boris



More information about the odb-users mailing list