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

Detailed Description

Definition at line 187 of file result_set.hpp.

+ Collaboration diagram for storages::postgres::FieldDescription:

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 189 of file result_set.hpp.

◆ name

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

The field name.

Definition at line 194 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 200 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 197 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 206 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 191 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 203 of file result_set.hpp.


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