[odb-users] odb doesn't generate sql for sqlite
Boris Kolpackov
boris at codesynthesis.com
Mon Dec 22 04:14:43 EST 2014
Hi Jens,
Jens Rapp <rapp.jens at googlemail.com> writes:
> Working command is
> odb -x "-std=c++11" -d mysql --generate-schema person.h
Use --std=c++11 instead of -x "-std=c++11".
> not working command is
> odb -x "-std=c++11" -d sqlite --generate-schema person.h
By default for SQLite ODB produces schema embedded into the
generated C++ files rather than as a standalone .sql file.
See Section 3.4, "Database" in the ODB manual for more
information on this.
Boris
More information about the odb-users
mailing list