select u from video u where categories = 'this' AND language = 'that'
These did not work:
model->setQuery(session_.query< Wt::Dbo::ptr<TheVideo> >("select u from video
u").where("categories = ? AND language = ?").bind(categoryQuery).bind(lang),
false);
model->setQuery(session_.query< Wt::Dbo::ptr<TheVideo> >("select u from video
u").where("categories = ?").bind(categoryQuery).where(language =
?").bind(lang), false);
Thanks, I looked all over for an example and couldn't find one.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest