database.hpp: fix issue

This commit is contained in:
jie 2022-03-23 13:45:35 +08:00
parent a99694866c
commit 38334d6c36
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@
#include <pqxx/pqxx>
// [2022.3.23] fix issue:
// because the project structure of pqxx has been updated,
// including only pqxx is not enough
#include <pqxx/result>
namespace bserv {
using raw_db_connection_type = pqxx::connection;