diff options
| author | Bruce Momjian <bruce@momjian.us> | 1999-10-06 03:00:16 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1999-10-06 03:00:16 +0000 |
| commit | 56ba75cb5394f2643505ac332f8b4e31a9c4ad7e (patch) | |
| tree | 2bba9fdf80983b934c750277998c97247690e0a3 /src/interfaces/libpq++/libpq++.H | |
| parent | 0eac2922ec861f0c6e39d1943c0510c00e59ad6d (diff) | |
| download | postgresql-56ba75cb5394f2643505ac332f8b4e31a9c4ad7e.tar.gz | |
CmdTuples() returns an int showing the number of affected tuples after an
insert, update or delete. It will return -1 on error, although I've yet
to an error situation to prove that out!
Vince
Diffstat (limited to 'src/interfaces/libpq++/libpq++.H')
| -rw-r--r-- | src/interfaces/libpq++/libpq++.H | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/libpq++/libpq++.H b/src/interfaces/libpq++/libpq++.H index 19d2ff160b..1906f01202 100644 --- a/src/interfaces/libpq++/libpq++.H +++ b/src/interfaces/libpq++/libpq++.H @@ -30,7 +30,7 @@ extern "C" { #include "libpq-fe.h" } -static char rcsid[] = "$Id: libpq++.H,v 1.5 1999/10/04 15:17:06 momjian Exp $"; +static char rcsid[] = "$Id: libpq++.H,v 1.6 1999/10/06 03:00:16 momjian Exp $"; // **************************************************************** @@ -79,6 +79,7 @@ public: ~PgDatabase() {}; // close connection and clean up // query result access int Tuples(); + int CmdTuples(); int Fields(); const char* FieldName(int field_num); int FieldNum(const char *field_name); |
