mirror of
https://github.com/getml/sqlgen.git
synced 2026-01-09 19:09:53 -06:00
20 lines
365 B
C++
20 lines
365 B
C++
#ifndef SQLGEN_POSTGRES_EXEC_HPP_
|
|
#define SQLGEN_POSTGRES_EXEC_HPP_
|
|
|
|
#include <libpq-fe.h>
|
|
|
|
#include <rfl.hpp>
|
|
#include <string>
|
|
|
|
#include "../Ref.hpp"
|
|
#include "../Result.hpp"
|
|
|
|
namespace sqlgen::postgres {
|
|
|
|
Result<Ref<PGresult>> exec(const Ref<PGconn>& _conn,
|
|
const std::string& _sql) noexcept;
|
|
|
|
} // namespace sqlgen::postgres
|
|
|
|
#endif
|