mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-02-14 06:19:27 -06:00
- removed expression.cpp, Query::Expression is header only now - fixed macro guard names - inline from defn. to decl.
35 lines
891 B
C++
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
|