aboutsummaryrefslogtreecommitdiff
path: root/odb/options.cli
diff options
context:
space:
mode:
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."
+ };
};