Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
AdhocStatement.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef _ADHOCSTATEMENT_H
7#define _ADHOCSTATEMENT_H
8
9#include "SQLOperation.h"
10#include "Threading/Future.h"
11
15{
16public:
17 BasicStatementTask(const char* sql);
18 BasicStatementTask(const char* sql, QueryResultFuture result);
20
21 bool Execute();
22
23private:
24 const char* m_sql; //- Raw query to be executed
27};
28
29#endif
Skyfire::Future< QueryResult > QueryResultFuture
BasicStatementTask(const char *sql)
QueryResultFuture m_result