[odb-users] Composing object view attribute

Boris Kolpackov boris at codesynthesis.com
Mon Apr 13 10:11:07 EDT 2015


Hi Roman,

Roman Shametko <shametko.roman at gmail.com> writes:

> So my question is: Is there any way to supply Views with manually
> composed values?

Normally a view gets values for its members from the database
(query). But you can also declare a member transient and compute
its value using a database operation callback (e.g., post_load;
Section 14.2.5).

Not sure if this is what you are looking for. If not, then
describe how you see the m_nodePath calculation being
implemented under the hood.

Boris



More information about the odb-users mailing list