You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| --path-to-header PATH_TO_HEADER | No[^3]|| Output pathname of the generated C++ header. | Second command-line argument |
41
+
| --path-to-header-directory PATH_TO_HEADER_DIRECTORY | No[^3]|| Output Directory for the generated C++ headers | Second command-line argument + -split-tables. |
42
+
| --path-to-module PATH_TO_MODULE | No[^2][^3]|| Output pathname of the generated C++ module. | N/A |
43
+
| --path-to-datatype-file PATH_TO_DATATYPE_FILE | No || Input pathname of a CSV file defining aliases of existing data types. | Same |
| --module-name MODULE_NAME | No[^2]|| Name of the generated C++ module | N/A |
49
+
| --suppress-timestamp-warning | No | False | Don't display a warning when date/time data types are used. | -no-timestamp-warning |
50
+
| --assume-auto-id | No | False | Treat columns called *id* as if they have a default auto-increment value. | -auto-id |
51
+
| --naming-style {camel-case,identity} | No | camel-case | Naming style for generated tables and columns. *camel-case* interprets *_* as word separator and translates table names to *UpperCamelCase* and column names to *lowerCamelCase*. *identity* uses table and column names as-is in generated code. | -identity-naming |
52
+
| --generate-table-creation-helper | No | False | For each table in the database model create a helper function that drops and creates the table. | N/A |
53
+
| --use-import-sqlpp23 | No | False | Import sqlpp23 as module instead of including the header file. | N/A |
54
+
| --use-import-std | No | False | Import std as module instead of including the respective standard header files. | N/A |
55
+
| --self-test | No[^1]|| Run parser self-test. | -test |
56
+
57
+
[^1]: Overrides every other option.
58
+
[^2]: To generate a C++ module, both --path-to-module and --module-name should be specified.
59
+
[^3]: Exactly one of --path-to-module, --path-to-header or --path-to-header-directory should be specified.
60
+
61
+
## Examples of program usage
25
62
26
63
Once you have the DDL files, you can create C++ headers or modules for them with provided
0 commit comments