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
## Generic template Table class having the following features:
24
-
* Type safety for table column fields;
25
-
* Table column of type INTEGER has variable member of type int
24
+
* Type safety for table column fields, include additional types added by SQLite3.
25
+
* Table column of type INTEGER has variable member of type Integer which is an alias for type int.
26
26
* Table column of type TEXT has variable member of type Table::T_STR, which is alias for the type of string defined by the class (std:string, std::wstring, sqlite3pp::tstring, etc...)
27
-
* Table column of type REAL has variable member of type double
28
-
* Table column of type FLOAT has variable member of type float
29
-
* Table column of type BOOLEAN has variable member of type bool
30
-
* Table column of type TINYINT has variable member of type byte
31
-
* Table column of type DOUBLE, DECIMAL, or NUMERIC, have variable member of type double
32
-
*
33
-
* Table column of type DATE and DATETIME has variable member of type time_t
34
-
* Table column of type BIGINT has variable member of type __int64
35
-
* Table column of type UNSIGNED BIG INT has variable member of type unsigned __int64
27
+
* ... REAL has variable member of type Real, which is an alias for double.
28
+
* ... FLOAT has variable member of type Float, which is an alias for double.
29
+
* ... BOOLEAN has variable member of type Bolean, which is an alias for bool.
30
+
* ... TINYINT has variable member of type Tinyint, which is an alias for unisigned char.
31
+
* ... DATE is of type Date which has a time_t member variable.
32
+
* ... DATETIME is of type Datetime, which has an std::tm member variable.
33
+
* ... BIGINT is typed to **long long int** which is equevalent to type __int64, and it's a more portable type
34
+
* ... UNSIGNED BIG INT is typed to **unsigned long long int**
35
+
* The following types are also supported:
36
+
* using Int = int;
37
+
* using Int2 = int;
38
+
* using Int8 = int;
39
+
* using Smallint = short int;
40
+
* using Mediumint = int;
41
+
* sing Numeric = double;
42
+
* using Decimal = double;
43
+
* using DoublePrcsn = double;
44
+
* using Double = double;
45
+
* using Blob = std::shared_ptr<std::vector<Tinyint> >;
46
+
* using Clob = std::shared_ptr< std::basic_string<unsigned char> >;
47
+
* using Nchar = std::wstring;
48
+
* using Nvarchar = std::wstring;
49
+
* using Character = std::string;
50
+
* using Varchar = std::string;
36
51
* Automatically populate the Table class with associated table
0 commit comments