1 #ifndef __EIENDB_PGSQL_HPP__ 2 #define __EIENDB_PGSQL_HPP__ 48 virtual bool connect()
override;
49 virtual bool close()
override;
50 virtual void alive()
override;
51 virtual bool selectDb(
winux::String const & database )
override;
52 virtual bool setLinkCharset(
winux::String const & charset )
override;
53 virtual bool createDb(
winux::String const & database )
override;
54 virtual bool dropDb(
winux::String const & database )
override;
55 virtual size_t affectedRows()
override;
56 virtual size_t insertId()
override;
57 virtual int errNo()
override;
73 virtual operator bool()
const override;
112 virtual bool free()
override;
114 virtual bool dataSeek(
size_t index )
override;
115 virtual bool fetchRow(
winux::Mixed * fields,
int type = 0 )
override;
118 virtual winux::String fieldName(
size_t fieldIndex )
override;
119 virtual size_t fieldsCount()
override;
120 virtual size_t rowsCount()
override;
121 virtual winux::String fieldType(
size_t fieldIndex )
override;
124 operator bool()
const;
148 #endif // HAVE_DB_PGSQL 152 #endif // __EIENDB_PGSQL_HPP__ XString< char > AnsiString
void * DbHandle
数据库各种对象资源的指针类型
PgsqlConnection * getCnn() const
Mixed const mxNull
Mixed(MT_NULL)常量对象
std::map< String, Mixed > StringMixedMap
IDbConnection * getCnn() const
#define DISABLE_OBJECT_COPY(clsname)
PgsqlStatement(PgsqlConnection *cnn, winux::String const &sql, winux::Mixed const ¶ms=winux::mxNull)
std::vector< Mixed > MixedArray
PgsqlDbError(int pgsqlErrNo, winux::AnsiString const &s)
int getPgsqlErrCode() const
PgsqlStatement(PgsqlConnection *cnn)
XStringArray< tchar > StringArray