mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-02-09 03:49:21 -06:00
36 lines
683 B
C++
36 lines
683 B
C++
#ifndef PROCESSOR_H
|
|
#define PROCESSOR_H
|
|
|
|
#include <QStringList>
|
|
#include <QtGlobal>
|
|
|
|
#include "export.hpp"
|
|
|
|
class QSqlQuery;
|
|
|
|
#ifdef TINYORM_COMMON_NAMESPACE
|
|
namespace TINYORM_COMMON_NAMESPACE
|
|
{
|
|
#endif
|
|
namespace Orm::Query::Processors
|
|
{
|
|
|
|
class SHAREDLIB_EXPORT Processor
|
|
{
|
|
Q_DISABLE_COPY(Processor)
|
|
|
|
public:
|
|
Processor() = default;
|
|
inline virtual ~Processor() = default;
|
|
|
|
/*! Process the results of a column listing query. */
|
|
QStringList processColumnListing(QSqlQuery &query) const;
|
|
};
|
|
|
|
} // namespace Orm::Query::Processors
|
|
#ifdef TINYORM_COMMON_NAMESPACE
|
|
} // namespace TINYORM_COMMON_NAMESPACE
|
|
#endif
|
|
|
|
#endif // PROCESSOR_H
|