Fwd: [odb-users] create_schema deletes db tables

Boris Kolpackov boris at codesynthesis.com
Mon Jul 8 09:14:56 EDT 2013


Hi Rafal,

Rafal Grasman <rjg1094 at gmail.com> writes:

> catch(odb::exception &e)
> {
>   if(std::string(e.what()).c_str()[0] == '1')

You can get the SQLite error code in numeric form if you catch
the odb::sqlite::database_exception exception. See the manual
for details.

Boris



More information about the odb-users mailing list