diff --git a/include/sqlpp11/data_types/boolean/data_type.h b/include/sqlpp11/data_types/boolean/data_type.h index 66528c63..7589d829 100644 --- a/include/sqlpp11/data_types/boolean/data_type.h +++ b/include/sqlpp11/data_types/boolean/data_type.h @@ -39,6 +39,8 @@ namespace sqlpp template using _is_valid_operand = is_boolean_t; }; + + using bit = sqlpp::boolean; } #endif diff --git a/include/sqlpp11/data_types/day_point/data_type.h b/include/sqlpp11/data_types/day_point/data_type.h index a589e752..9be108a0 100644 --- a/include/sqlpp11/data_types/day_point/data_type.h +++ b/include/sqlpp11/data_types/day_point/data_type.h @@ -42,5 +42,7 @@ namespace sqlpp template using _is_valid_assignment_operand = is_day_point_t; }; + + using date = day_point; } #endif diff --git a/include/sqlpp11/data_types/text/data_type.h b/include/sqlpp11/data_types/text/data_type.h index 7b90b5e0..6215dacb 100644 --- a/include/sqlpp11/data_types/text/data_type.h +++ b/include/sqlpp11/data_types/text/data_type.h @@ -43,5 +43,7 @@ namespace sqlpp using blob = text; using varchar = text; using char_ = text; + using binary = text; + using varbinary = text; } #endif diff --git a/include/sqlpp11/data_types/time_point/data_type.h b/include/sqlpp11/data_types/time_point/data_type.h index ad3f727e..41bc7eca 100644 --- a/include/sqlpp11/data_types/time_point/data_type.h +++ b/include/sqlpp11/data_types/time_point/data_type.h @@ -40,5 +40,9 @@ namespace sqlpp template using _is_valid_operand = is_day_or_time_point_t; }; + + using datetime = time_point; + using timestamp = time_point; + using time = time_point; } #endif