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
23
pglablib/catalog/PgSequence.h
Normal file
23
pglablib/catalog/PgSequence.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue