mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Addition of CmdTuples(). Wraps PQcmdTuples.
Vince Vielhaber
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgdatabase.cc,v 1.4 1999/09/21 21:19:31 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/pgdatabase.cc,v 1.5 1999/09/28 04:49:22 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -61,6 +61,12 @@ return PQntuples(pgResult);
|
||||
}
|
||||
|
||||
|
||||
int PgDatabase::CmdTuples()
|
||||
{
|
||||
return PQcmdTuples (PGresult);
|
||||
}
|
||||
|
||||
|
||||
int PgDatabase::Fields()
|
||||
{
|
||||
return PQnfields(pgResult);
|
||||
|
Reference in New Issue
Block a user