Files
TinyORM/include/orm/query/processors/postgresprocessor.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
909 B
C++

#pragma once
#ifndef ORM_QUERY_PROCESSORS_POSTGRESPROCESSOR_HPP
#define ORM_QUERY_PROCESSORS_POSTGRESPROCESSOR_HPP
#include "orm/macros/systemheader.hpp"
TINY_SYSTEM_HEADER
#include "orm/query/processors/processor.hpp"
TINYORM_BEGIN_COMMON_NAMESPACE
namespace Orm::Query::Processors
{
/*! PostgreSql processor, process sql result. */
class SHAREDLIB_EXPORT PostgresProcessor : public Processor
{
Q_DISABLE_COPY(PostgresProcessor)
public:
/*! Default constructor. */
inline PostgresProcessor() = default;
/*! Virtual destructor. */
inline ~PostgresProcessor() 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_POSTGRESPROCESSOR_HPP