Tab with list of sequences and create sql for selected sequence.
This commit is contained in:
parent
769307c821
commit
437736a023
19 changed files with 507 additions and 63 deletions
25
pglablib/catalog/PgSequenceContainer.h
Normal file
25
pglablib/catalog/PgSequenceContainer.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue