implemented specialization of data types via type traits and handling of embedded non-trivial types

This commit is contained in:
2023-12-10 22:40:01 +01:00
parent da423ea8bb
commit 8ad13076c8
17 changed files with 346 additions and 90 deletions
@@ -94,7 +94,11 @@ size_t postgres_connection::execute(const std::string &stmt)
throw_postgres_error(res, conn_, "postgres", stmt);
return sql::to_long_long(PQcmdTuples(res));
const auto affected_rows = sql::to_long_long(PQcmdTuples(res));
PQclear(res);
return affected_rows;
}
sql::data_type_t string2type(const char *type)