[odb-users] Containers of containers
MM
finjulhich at gmail.com
Fri Sep 27 18:12:06 EDT 2024
Hellom
Trying to compile and understand the experimental facility of vectors of
vectors, I can't odb compile the example here
https://cppget.org/odb/2.5.0-b.23?f=full#description
around odb/nested-container.hxx
first it complains about no id.
and then after I place no_id on the object,
1.hpp:16:29: error: unable to map C++ type '::package::licenses_type' used
in data member 'license_alternatives' to a PostgreSQL database type
1.hpp:16:29: info: use '#pragma db value_type' to specify the database type
What's involved to get the example to work?
Rds,
More information about the odb-users
mailing list