userver: storages::postgres::FieldDescription Struct Reference
Loading...
Searching...
No Matches
storages::postgres::FieldDescription Struct Reference

Detailed Description

Definition at line 188 of file result_set.hpp.

Public Attributes

std::size_t index
 Index of the field in the result set.
 
Oid type_oid
 The object ID of the field's data type.
 
std::string name
 The field name.
 
Oid table_oid
 If the field can be identified as a column of a specific table, the object ID of the table; otherwise zero.
 
Integer table_column
 If the field can be identified as a column of a specific table, the attribute number of the column; otherwise zero.
 
Integer type_size
 The data type size (see pg_type.typlen). Note that negative values denote variable-width types.
 
Integer type_modifier
 The type modifier (see pg_attribute.atttypmod). The meaning of the modifier is type-specific.
 

Member Data Documentation

◆ index

std::size_t storages::postgres::FieldDescription::index

Index of the field in the result set.

Definition at line 190 of file result_set.hpp.

◆ name

std::string storages::postgres::FieldDescription::name

The field name.

Definition at line 195 of file result_set.hpp.

◆ table_column

Integer storages::postgres::FieldDescription::table_column

If the field can be identified as a column of a specific table, the attribute number of the column; otherwise zero.

Definition at line 201 of file result_set.hpp.

◆ table_oid

Oid storages::postgres::FieldDescription::table_oid

If the field can be identified as a column of a specific table, the object ID of the table; otherwise zero.

Definition at line 198 of file result_set.hpp.

◆ type_modifier

Integer storages::postgres::FieldDescription::type_modifier

The type modifier (see pg_attribute.atttypmod). The meaning of the modifier is type-specific.

Definition at line 207 of file result_set.hpp.

◆ type_oid

Oid storages::postgres::FieldDescription::type_oid

The object ID of the field's data type.

Definition at line 192 of file result_set.hpp.

◆ type_size

Integer storages::postgres::FieldDescription::type_size

The data type size (see pg_type.typlen). Note that negative values denote variable-width types.

Definition at line 204 of file result_set.hpp.


The documentation for this struct was generated from the following file: