/* * Copyright (c) 2021, Jan de Visser * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include #include #include namespace SQL { class Key : public Tuple { public: Key() = default; explicit Key(NonnullRefPtr const&); explicit Key(NonnullRefPtr); Key(NonnullRefPtr const&, Serializer&); Key(RefPtr, Serializer&); RefPtr index() const { return m_index; } private: RefPtr m_index { nullptr }; }; }