Type identified by its name.
More...
#include <types.hpp>
|
| named_type (const std::string_view name) |
| Type identified by an unqualified name.
|
|
| named_type (const std::string_view schema, const std::string_view name) |
| Type identified by a qualified name.
|
|
std::string_view | name (bool qualified=false) |
| Type name as defined in Postgres.
|
|
bool | operator== (const type &other) const |
|
Type identified by its name.
- Note
- Once constructed, the resolved type stays the same and doesn't change during the lifetime of the value.
◆ named_type() [1/2]
cppgres::named_type::named_type |
( |
const std::string_view |
name | ) |
|
|
inline |
Type identified by an unqualified name.
- Parameters
-
name | unqualified type name |
◆ named_type() [2/2]
cppgres::named_type::named_type |
( |
const std::string_view |
schema, |
|
|
const std::string_view |
name |
|
) |
| |
|
inline |
Type identified by a qualified name.
- Parameters
-
schema | schema name |
name | type name |
The documentation for this struct was generated from the following file: