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,23 @@
#ifndef PGSEQUENCE_H
#define PGSEQUENCE_H
#include "catalog/PgClass.h"
class PgSequence: public PgClass {
public:
Oid typid = InvalidOid;
int64_t last = 0;
int64_t start = 0;
int64_t increment = 0;
int64_t max = 0;
int64_t min = 0;
int64_t cache = 0;
int64_t log = 0;
bool cycled = false;
bool called = false;
using PgClass::PgClass;
QString createSql() const;
};
#endif // PGSEQUENCE_H