Added the test infrastructure for postgres

This commit is contained in:
Dr. Patrick Urbanke
2025-04-19 10:56:38 +02:00
parent c63fd12e7b
commit 39d78d7cb5
4 changed files with 49 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class Connection : public sqlgen::Connection {
public:
Connection(const Credentials& _credentials)
: credentials_(_credentials), conn_(make_conn(_credentials.to_str())) {}
: conn_(make_conn(_credentials.to_str())), credentials_(_credentials) {}
static rfl::Result<Ref<sqlgen::Connection>> make(
const Credentials& _credentials) noexcept;