summaryrefslogtreecommitdiff
path: root/include/postgresHandler.h
blob: 1aaa42264617d85bf27da85f8380d316ec3c8c66 (plain)
1
2
3
4
5
6
7
8
9
#pragma once
#include <pqxx/pqxx>

const pqxx::result execute_query(pqxx::work &t_transaction,
                                 std::string_view t_query);

void display_query_result(const pqxx::result &t_r);

void add_cards_to_database(const std::string &t_cards, pqxx::work &t_tx);