summaryrefslogtreecommitdiff
path: root/libpqpp/pq-column.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-10-08 14:44:46 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-10-08 14:44:46 +0100
commit5ff1709a9e039ec155caecd6d0ea3c512f4be3cb (patch)
treec93c1e7c30bfae1b634911af0395ea9d5a40ea4e /libpqpp/pq-column.h
parentUse proper defines for column types (diff)
downloadlibdbpp-postgresql-5ff1709a9e039ec155caecd6d0ea3c512f4be3cb.tar.bz2
libdbpp-postgresql-5ff1709a9e039ec155caecd6d0ea3c512f4be3cb.tar.xz
libdbpp-postgresql-5ff1709a9e039ec155caecd6d0ea3c512f4be3cb.zip
Reformat with new clang-format
Diffstat (limited to 'libpqpp/pq-column.h')
-rw-r--r--libpqpp/pq-column.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpqpp/pq-column.h b/libpqpp/pq-column.h
index f893fef..f86958e 100644
--- a/libpqpp/pq-column.h
+++ b/libpqpp/pq-column.h
@@ -7,6 +7,7 @@
namespace PQ {
class SelectBase;
+
class Column : public DB::Column {
public:
Column(const SelectBase *, unsigned int field);
@@ -24,6 +25,7 @@ namespace PQ {
std::memcpy(&v, value(), sizeof(T));
return v;
}
+
const char * value() const;
std::size_t length() const;