aboutsummaryrefslogtreecommitdiff
path: root/odb/options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-03-11 14:24:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-03-21 15:40:00 +0200
commitadd8086259fb21f1e42aba6546c55e607d87ce93 (patch)
tree3abbb4624d09c067236227a173e80da88948e257 /odb/options.cli
parenta6630dff5bf2002c0c133ea6c5e16d8a0a22138f (diff)
Infrastructure setup and schema generation for SQLite
Diffstat (limited to 'odb/options.cli')
-rw-r--r--odb/options.cli17
1 files changed, 15 insertions, 2 deletions
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
{
"<db>",
- "Generate code for the <db> database. Valid values are \cb{mysql} and
- \cb{tracer}."
+ "Generate code for the <db> 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."
+ };
};