Cppgres
Build Postgres extensions in C++
Loading...
Searching...
No Matches
collation.hpp
1
#pragma once
2
3
#include "
datum.hpp
"
4
#include "
imports.h
"
5
6
namespace
cppgres {
7
8
struct
collation
{
9
10
collation
(
oid
oid
) : oid_(
oid
) {}
11
12
[[nodiscard]]
13
std::string
name
()
const
{
14
return
ffi_guard
{::get_collation_name}(oid_);
15
}
16
17
private
:
18
oid
oid_;
19
};
20
21
}
// namespace cppgres
datum.hpp
imports.h
cppgres::collation
Definition:
collation.hpp:8
cppgres::ffi_guard
Definition:
guard.hpp:19
cppgres::name
Definition:
name.hpp:7
cppgres::oid
Definition:
datum.hpp:17
src
cppgres
collation.hpp
Generated by
1.9.6