Files
TinyORM/include/orm/query/processors/sqliteprocessor.hpp
silverqx fb20fd8b9f cleanup, macro guards, inline
- removed expression.cpp, Query::Expression is header only now
 - fixed macro guard names
 - inline from defn. to decl.
2022-01-13 11:02:07 +01:00

35 lines
891 B
C++

#pragma once
#ifndef ORM_QUERY_PROCESSORS_SQLITEPROCESSOR_HPP
#define ORM_QUERY_PROCESSORS_SQLITEPROCESSOR_HPP
#include "orm/macros/systemheader.hpp"
TINY_SYSTEM_HEADER
#include "orm/query/processors/processor.hpp"
TINYORM_BEGIN_COMMON_NAMESPACE
namespace Orm::Query::Processors
{
/*! SQLite processor, process sql result. */
class SHAREDLIB_EXPORT SQLiteProcessor : public Processor
{
Q_DISABLE_COPY(SQLiteProcessor)
public:
/*! Default constructor. */
inline SQLiteProcessor() = default;
/*! Virtual destructor. */
inline ~SQLiteProcessor() override = default;
/*! Process the results of a column listing query. */
QStringList processColumnListing(QSqlQuery &query) const override;
};
} // namespace Orm::Query::Processors
TINYORM_END_COMMON_NAMESPACE
#endif // ORM_QUERY_PROCESSORS_SQLITEPROCESSOR_HPP