Inheritance diagram for pqxx::result::tuple:

Public Types | |
| typedef tuple_size_type | size_type |
Public Member Functions | |
| tuple (const result *r, result::size_type i) | |
| ~tuple () | |
| field | operator[] (size_type) const |
| field | operator[] (const char[]) const |
| field | operator[] (const PGSTD::string &s) const |
| field | at (size_type) const |
| field | at (const char[]) const |
| field | at (const PGSTD::string &s) const |
| size_type | size () const |
| result::size_type | rownumber () const |
| size_type | column_number (const PGSTD::string &ColName) const |
| Number of given column (throws exception if it doesn't exist). | |
| size_type | column_number (const char ColName[]) const |
| Number of given column (throws exception if it doesn't exist). | |
| oid | column_type (size_type ColNum) const |
| Type of given column. | |
| oid | column_type (const PGSTD::string &ColName) const |
| Type of given column. | |
| oid | column_type (const char ColName[]) const |
| Type of given column. | |
Protected Member Functions | |
| tuple () | |
Protected Attributes | |
| const result * | m_Home |
| result::size_type | m_Index |
A tuple represents one row (also called a tuple) in a query result set. It also acts as a container mapping column numbers or names to field values (see below):
cout << tuple["date"].c_str() << ": " << tuple["name"].c_str() << endl;
The fields in a tuple can not currently be iterated over.
|
|
Reimplemented in pqxx::result::field. |
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of given column (throws exception if it doesn't exist).
|
|
|
Number of given column (throws exception if it doesn't exist).
|
|
|
Type of given column.
|
|
|
Type of given column.
|
|
|
Type of given column.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in pqxx::result::field. |
|
|
|
|
|
|
1.3.2