[odb-users] 2.4.0: Object loading views with std::map container
Quentin Deldycke
quentindeldycke at gmail.com
Tue Feb 17 06:04:55 EST 2015
Hi,
I don't understand how to create the view for an object having a map on it.
I have a structure like this:
class B
{
int x;
int y;
int z;
}
class A
{
int a;
int b;
int c;
std::map<int, B> example;
}
I manage to create the view for other relation (1-1) without any problem
for the rest of the data.
By the way, using this feature, to dump (threw network) the database, we
manage to be 300% faster. And i think we can reach even more increase
because there is still 2 queries for ~10 B class for each A class which are
run at each iteration.
--
Deldycke Quentin
More information about the odb-users
mailing list