Re: C++ classes as result of selection in postgresql database

From: Dmitry Igrishin <dmitigr(at)gmail(dot)com>
To: Yuriy Rusinov <yrusinov(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: C++ classes as result of selection in postgresql database
Date: 2018-09-14 15:42:35
Message-ID: CAAfz9KOFTa9q3oUqj7wnV=PwHFy9JgA4PeA-YT7QAuu=3SZ5dw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

пт, 14 сент. 2018 г. в 17:23, Yuriy Rusinov <yrusinov(at)gmail(dot)com>:
>
> Dear colleagues !
>
> I have to calculate road graph from coordinates and save it to postgresql database. Is it possible to construct my classes using libpqxx API and return it to client or I need to develop these API on another layer after data selection ?
With the Pgfe C++ API (https://github.com/dmitigr/pgfe) it's possible
to define any class and specialize the structure template Conversions
to convert the data nicely from the database to this class and back.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jeremy Schneider 2018-09-14 15:43:12 Re: Slow shutdowns sometimes on RDS Postgres
Previous Message Alvaro Herrera 2018-09-14 15:41:06 Re: Behaviour when autovacuum is canceled