[odb-users] odb doesn't generate sql for sqlite
Jens Rapp
rapp.jens at googlemail.com
Mon Dec 22 05:59:16 EST 2014
hi, this doesn't work.
"unknown option"
On 22.12.2014 10:14, Boris Kolpackov wrote:
> 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