#include "AdhocStatement.h"
◆ BasicStatementTask()
BasicStatementTask::BasicStatementTask |
( |
std::string_view |
sql, |
|
|
bool |
async = false |
|
) |
| |
Basic, ad-hoc queries.
24{
25 m_sql = std::string(sql);
27
28 if (async)
30}
std::promise< QueryResult > QueryResultPromise
Definition: DatabaseEnvFwd.h:29
bool m_has_result
Definition: AdhocStatement.h:37
std::string m_sql
Definition: AdhocStatement.h:36
QueryResultPromise * m_result
Definition: AdhocStatement.h:38
References m_has_result, m_result, and m_sql.
◆ ~BasicStatementTask()
BasicStatementTask::~BasicStatementTask |
( |
| ) |
|
◆ Execute()
bool BasicStatementTask::Execute |
( |
| ) |
|
|
overridevirtual |
◆ GetFuture()
◆ m_has_result
bool BasicStatementTask::m_has_result |
|
private |
◆ m_result
◆ m_sql
std::string BasicStatementTask::m_sql |
|
private |