From add8086259fb21f1e42aba6546c55e607d87ce93 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 11 Mar 2011 14:24:25 +0200 Subject: Infrastructure setup and schema generation for SQLite --- odb/options.cli | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'odb/options.cli') diff --git a/odb/options.cli b/odb/options.cli index 12bb1e8..b536d21 100644 --- a/odb/options.cli +++ b/odb/options.cli @@ -48,8 +48,8 @@ class options ::database --database | -d { "", - "Generate code for the database. Valid values are \cb{mysql} and - \cb{tracer}." + "Generate code for the database. Valid values are \cb{mysql}, + \cb{sqlite}, and \cb{tracer}." }; bool --generate-query | -q @@ -374,4 +374,17 @@ class options database-default engine, pass \cb{default} as the value for this option." }; + + // + // SQLite-specific options. + // + + bool --sqlite-lax-auto-id + { + "Do not force monotonically increasing automatically-assigned + object ids. In this mode the generated database schema omits the + \cb{AUTOINCREMENT} keyword which results in faster object persistence + but may lead to automatically-assigned ids not being in a strictly + ascending order. Refer to the SQLite documentation for details." + }; }; -- cgit v1.1