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:
@@ -237,7 +237,7 @@ TEST_CASE_METHOD(SessionFixture, "Use session to find all objects with one-to-ma
|
||||
|
||||
std::vector<std::unique_ptr<department>> departments;
|
||||
departments.emplace_back(new department{1, "Insurance", {}});
|
||||
departments.emplace_back(new department{ 2, "Invoice", {}});
|
||||
departments.emplace_back(new department{2, "Invoice", {}});
|
||||
|
||||
for (auto &&a: departments) {
|
||||
auto res = ses.insert(a.release());
|
||||
|
||||
Reference in New Issue
Block a user