[odb-users] Feature request
Boris Kolpackov
boris at codesynthesis.com
Mon Apr 18 10:29:15 EDT 2016
Hi,
> I couldn't find 'table_name' in 'odb::object_traits<MyClass>' class
> in my project.
Yes, that was incorrect. I sent a correction to the original thread.
> In addition, is there any way to find out the name of the relation
> table and the name of the fields in that table? For example, in my
> class I have a member like this:
>
> QList<std::shared_ptr<OTHER_CLASS>> m_otherClassList;
>
> How can I access to the name of them in code?
No, this information is not (easily) available from the generated code.
Boris
More information about the odb-users
mailing list