droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
|
Functions | |
template<size_t I = 0, typename... Types> | |
constexpr void | assignResults (const pqxx::result &result, std::vector< std::variant< Types... > > &args) |
template<typename... Types> | |
auto | execQuery (const std::string &query, Types &&... args) noexcept -> bool |
executes a query on the database | |
template<typename... Types> | |
auto | execSelect (const std::string &query, Types &&... args) noexcept -> RowDTOAdapter |
executes a Select on the database | |
template<typename... Types> | |
auto | execSelectAll (const std::string &query, Types &&... args) noexcept -> std::vector< RowDTOAdapter > |
executes a Select on the database | |
|
constexpr |
|
noexcept |
executes a query on the database
query | SQL query to be executed |
args | the arguments the query takes |
|
noexcept |
executes a Select on the database
query | SQL select query to be executed |
args | the arguments the query takes |
|
noexcept |
executes a Select on the database
query | SQL select query to be executed |
args | the arguments the query takes |