Tab with list of sequences and create sql for selected sequence.

This commit is contained in:
eelke 2018-12-28 08:51:02 +01:00
parent 769307c821
commit 437736a023
19 changed files with 507 additions and 63 deletions

View file

@ -0,0 +1,25 @@
#ifndef PGSEQUENCECONTAINER_H
#define PGSEQUENCECONTAINER_H
#include "PgContainer.h"
#include "PgSequence.h"
namespace Pgsql {
class Result;
}
class PgSequenceContainer: public PgContainer<PgSequence> {
public:
using PgContainer<PgSequence>::PgContainer;
std::string getLoadQuery() const override;
void loadAll(Pgsql::Connection &conn) override;
protected:
PgSequence loadElem(const Pgsql::Row &row) override;
};
#endif // PGSEQUENCECONTAINER_H