Am 07.01.2013 um 20:33 schrieb Mateusz Loskot:
> On 29 December 2012 14:50, Philipp Kraus wrote:
>>
>> 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
On 29 December 2012 14:50, Philipp Kraus wrote:
>
> 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 "inva
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
sele