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:
@@ -12,8 +12,9 @@ void test_parameter_binder::write_value(size_t /*pos*/, const uint64_t &/*x*/) {
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const bool &/*x*/) {}
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const float &/*x*/) {}
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const double &/*x*/) {}
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const time &/*x*/) {}
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const date &/*x*/) {}
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const utils::date_type_t &/*x*/) {}
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const utils::time_type_t &/*x*/) {}
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const utils::timestamp &/*x*/) {}
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const char * /*x*/) {}
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const char * /*x*/, size_t /*size*/) {}
|
||||
void test_parameter_binder::write_value(size_t /*pos*/, const std::string &/*x*/) {}
|
||||
|
||||
@@ -18,8 +18,9 @@ public:
|
||||
void write_value(size_t pos, const bool &x) override;
|
||||
void write_value(size_t pos, const float &x) override;
|
||||
void write_value(size_t pos, const double &x) override;
|
||||
void write_value(size_t pos, const time &x) override;
|
||||
void write_value(size_t pos, const date &x) override;
|
||||
void write_value(size_t pos, const utils::date_type_t &x) override;
|
||||
void write_value(size_t pos, const utils::time_type_t &x) override;
|
||||
void write_value(size_t pos, const utils::timestamp &x) override;
|
||||
void write_value(size_t pos, const char *x) override;
|
||||
void write_value(size_t pos, const char *x, size_t size) override;
|
||||
void write_value(size_t pos, const std::string &x) override;
|
||||
|
||||
Reference in New Issue
Block a user