#ifndef PQ_SELECTBASE_H #define PQ_SELECTBASE_H #include "pq-command.h" #include #include #include namespace PQ { class SelectBase : public DB::SelectCommand { friend class Column; protected: SelectBase(const std::string & sql, const PQ::CommandOptionsCPtr & pqco); ~SelectBase(); void createColumns(PGresult *); unsigned int nTuples, tuple; PGresult * execRes; bool binary; }; } #endif