added sequence-specific code (create, drop and nextval)
This commit is contained in:
@@ -48,6 +48,11 @@ public:
|
||||
[[nodiscard]] const utils::identifier &primary_key() const { return proxy_->primary_key(); }
|
||||
void primary_key(const utils::identifier &pk) { proxy_->primary_key(pk); }
|
||||
|
||||
[[nodiscard]] bool is_persistent() const { return proxy_->is_persistent(); }
|
||||
[[nodiscard]] bool is_transient() const { return !proxy_->is_transient(); }
|
||||
[[nodiscard]] bool is_detached() const { return !proxy_->is_detached(); }
|
||||
[[nodiscard]] bool is_removed() const { return !proxy_->is_removed(); }
|
||||
|
||||
private:
|
||||
std::shared_ptr<object_proxy<Type> > proxy_{};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user