Cppgres
Build Postgres extensions in C++
Loading...
Searching...
No Matches
cppgres::type Struct Reference

Postgres type. More...

#include <type.hpp>

Inheritance diagram for cppgres::type:
cppgres::named_type cppgres::non_by_value_type cppgres::varlena cppgres::bytea cppgres::expanded_varlena< T > cppgres::text

Public Member Functions

std::string_view name (bool qualified=false)
 Type name as defined in Postgres.
 
bool operator== (const type &other) const
 

Public Attributes

::Oid oid
 

Detailed Description

Postgres type.

Member Function Documentation

◆ name()

std::string_view cppgres::type::name ( bool  qualified = false)
inline

Type name as defined in Postgres.

Parameters
qualifiedif set to true (false by default), it will always include the schema name. Otherwise, if the schema is in the search_path, the schema will not be included.

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