Version: 1.0.0
postgresql_resultset_metadata.h
Go to the documentation of this file.
1 #ifndef __POSTGRES_RESULT_SET_METADATA_H__
2 #define __POSTGRES_RESULT_SET_METADATA_H__
3 
4 #include "wx/database/wxprec.h"
5 
7 {
8 public:
9  // ctor
10  wxPostgresResultSetMetaData(wxDynamicPostgresInterface* pInterface, PGresult* pResult);
11 
12  // dtor
14 
15  virtual int GetColumnType(int i);
16  virtual int GetColumnSize(int i);
17  virtual wxString GetColumnName(int i);
18  virtual int GetColumnCount();
19 
20 private:
22  PGresult* m_pResult;
23 };
24 
25 #endif // __POSTGRES_RESULT_SET_METADATA_H__
virtual wxString GetColumnName(int i)
Retrieve a column's name.
virtual int GetColumnCount()
Retrieve the number of columns in the result set.
wxPostgresResultSetMetaData(wxDynamicPostgresInterface *pInterface, PGresult *pResult)
wxDynamicPostgresInterface * m_pInterface
virtual int GetColumnType(int i)
Retrieve a column's type.
virtual int GetColumnSize(int i)
Retrieve a column's size.