#include <result.h>
Inheritance diagram for pqxx::Result::Field:
Public Types | |
typedef size_t | size_type |
Public Methods | |
Field (const Tuple &R, Tuple::size_type C) | |
const char * | c_str () const |
Read as plain C string. | |
const char * | Name () const |
Column name. | |
template<typename T> bool | to (T &Obj) const |
Read value into Obj; or leave Obj untouched & return false if null. | |
template<typename T> bool | to (T &Obj, const T &Default) const |
Read value into Obj; or use Default & return false if null. | |
bool | is_null () const |
int | size () const |
A Field represents one entry in a Tuple. It represents an actual value in the result set, and can be converted to various types.
|
Reimplemented from pqxx::Result::Tuple. |
|
|
|
Read as plain C string.
|
|
|
|
Column name.
|
|
Reimplemented from pqxx::Result::Tuple. |
|
Read value into Obj; or use Default & return false if null.
|
|
Read value into Obj; or leave Obj untouched & return false if null.
|