summaryrefslogtreecommitdiff
path: root/include/postgresHandler.h
blob: 1b8361885514b1a7b01ecbd0471d48c26e8d3c64 (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(std::string_view t_cards, pqxx::work &t_tx);