added date_type_t, time_type_t and timestamp, ensure allocated postgres resources are released, split repository into basic_repository and repository.
This commit is contained in:
@@ -9,8 +9,8 @@ column_value_pair::column_value_pair(std::string name, utils::database_type valu
|
||||
, value_(std::move(value)) {
|
||||
}
|
||||
|
||||
column_value_pair::column_value_pair(const table_column &col, utils::database_type value)
|
||||
: column_(col)
|
||||
column_value_pair::column_value_pair(table_column col, utils::database_type value)
|
||||
: column_(std::move(col))
|
||||
, value_(std::move(value)) {
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ bool operator==( const column_value_pair& lhs, const column_value_pair& rhs ) {
|
||||
}
|
||||
|
||||
bool operator!=( const column_value_pair& lhs, const column_value_pair& rhs ) {
|
||||
using namespace matador::utils;
|
||||
return !( lhs == rhs );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user