summaryrefslogtreecommitdiff
path: root/include/postgresHandler.h
blob: 2be688ec2944281c2f1c580e9db9ae68fc844781 (plain)
1
2
3
4
5
6
7
8
9
10
11
#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);

void refresh_cards_table();