pgLab/pglablib/catalog/PgSequence.h

27 lines
487 B
C++

#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;
bool priv_usage = false;
bool priv_select = false;
bool priv_update = false;
using PgClass::PgClass;
QString createSql() const;
};
#endif // PGSEQUENCE_H