summaryrefslogtreecommitdiff
path: root/include/postgresHandler.h
blob: 3c778245b0c3175f6423d334140e70e68aef6052 (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 add_cards_to_database(const std::string &t_cards, pqxx::work &t_tx);

void refresh_cards_table();