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
A command line tool for creating type safe SQL classes. The tool uses the database schema to create a class for each table and view. It has many command line options to allow developers to customize the class creation.
3
-
Each class is created in it's own header (*.h). A master header is created which includes all the headers.
3
+
Each class is created in it's own header (*.h). A master header (sql_Master_Header.h) is created which includes all the headers.
4
+
5
+
## Usage Example:
6
+
````
7
+
SQLiteClassBuilder.exe "my_database.db"
8
+
````
9
+
10
+
## SQLite3pp_EZ containers
11
+
By default, classes are created so they're compatible with sqlite3pp::Table and sqlite3pp::TableOStream container classes.
12
+
13
+
See https://github.com/David-Maisonave/sqlite3pp_EZ
14
+
15
+
These container classes can be populated using a single line of code: ``Table<sql_table_FileExt> tbl(DbFileNameArg("mydatabase.db"));``
16
+
17
+
In this example, **sql_table_FileExt** is a class created by SQLiteClassBuilder, and "mydatabase.db" is the file name of the SQLite database.
0 commit comments