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

MM finjulhich at gmail.com
Fri May 23 14:47:21 EDT 2014

ok, that's perhaps easier than using boost.python... I was thinking of

indeed if I change the c++ class, the odb will handle that for the tables
too, and so the python will get these changes next time it runs the meta
data checks.


On 23 May 2014 17:58, Boris Kolpackov <boris at codesynthesis.com> wrote:

> Hi,
> MM <finjulhich at gmail.com> writes:
> > The python code would fill up the existing tables that have been
> generated
> > from ODB, with data.  I write the sqlite also from python. To do that, I
> > would need to know the columns of the tables. Having the  C++ class that
> > odb used to generate the table, exposed as a python class, should help
> for
> > my python code to write to the tables?
> Hm, that sounds like a very complicated way to get a list of columns in
> Python. Instead, you could query the database to get the list of columns
> for a table, their datatypes, etc. All the databases that ODB currently
> supports have the ability to retrieve this meta-data.
> Boris

More information about the odb-users mailing list