Skip to content

Commit 2b8f4b1

Browse files
Update README.md
1 parent e7c3979 commit 2b8f4b1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ This package contains all the files required to use SQLite3, SQLite3pp, and SQLi
1414
## Unicode support.
1515
* Example:
1616
````cpp
17-
sqlite3pp::setGlobalDB(L"Exchange_€To$_database.db");
17+
sqlite3pp::setGlobalDB(L"MyDatabase.db");
1818
sqlite3pp::Execute(_T("INSERT OR REPLACE INTO FileName VALUES ('") + sfileName + _T("', '") + sfileExt + _T("');"));
19-
SQLiteClassBuilder createMyClasses(
20-
"Exchange_€To$_database.db"
21-
, SQLiteClassBuilder::std_wstring_protected_members // This option creates a class with std::wstring as the default string, and protected member variables.
22-
, "" // Set this to a specific table or view, in which one class is created, or set it to empty to create a class for each table and view in the database.
23-
);
19+
sqlite3pp::SQLiteClassBuilder createMyClasses(
20+
"MyDatabase.db"
21+
, sqlite3pp::SQLiteClassBuilder::strOpt_std_wstring // This option creates a class with std::wstring as the default string.
22+
, "" // Set this to a specific table or view, in which one class is created, or set it to empty to create a class for each table and view in the database.
23+
);
2424
````
2525
## Generic template Table class having the following features:
2626
* Type safety for table column fields, include additional types added by SQLite3.

0 commit comments

Comments
 (0)