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