pgLab/pglablib/catalog/PgSequence.h

24 lines
406 B
C
Raw Normal View History

#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