Hello, I use Soci for connection a PG database and a table has got an enum type.I try to create this select: select * from table where enumfield = :val and val is used by soci::use with a std::string variable.
Soci throws the exception "invalid input value for enum". So how can I create a select statement with the correct enum type, do I need also a C++ enum? Thanks Phil ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 _______________________________________________ soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
