ptr<User> user = session_.find<User>().where("id =
?").bind(app_->userID); // OK
collection< ptr<Project> > collect = user->projects; // OK
Is Working and collect.size() return 3 tuples.
But New Error: const_iterator don't work.
Exception: ERROR: column reference "version" is ambiguous
LINE 1: select "id", "version", "countrys_id", "type_projects_id", "na...
Table User and Projects has same column name ("version") and (I think)
Wt::Dbo not discriminate columns: user.version and projects.version
Tks
John
ps.: if anyone has any code of N-M relationships with const_iterator
(like this) and can send...
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today.
http://p.sf.net/sfu/quest-dev2dev2
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest