droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
database Namespace Reference

Functions

template<typename... Types>
bool execQuery (const std::string &query, Types &&... args) noexcept
template<typename... Types>
RowDTOAdapter execSelect (const std::string &query, Types &&... args) noexcept
template<typename... Types>
std::vector< RowDTOAdapterexecSelectAll (const std::string &query, Types &&... args) noexcept

Function Documentation

◆ execQuery()

template<typename... Types>
bool database::execQuery ( const std::string & query,
Types &&... args )
nodiscardnoexcept

Legacy free functions delegate to DatabaseExecutor::application_instance() so call sites can migrate gradually to injecting DatabaseExecutor.

◆ execSelect()

template<typename... Types>
RowDTOAdapter database::execSelect ( const std::string & query,
Types &&... args )
nodiscardnoexcept

◆ execSelectAll()

template<typename... Types>
std::vector< RowDTOAdapter > database::execSelectAll ( const std::string & query,
Types &&... args )
nodiscardnoexcept