summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSQL/Meta.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibSQL/Meta.h')
-rw-r--r--Userland/Libraries/LibSQL/Meta.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Libraries/LibSQL/Meta.h b/Userland/Libraries/LibSQL/Meta.h
index 06a01b18db..468e34cb95 100644
--- a/Userland/Libraries/LibSQL/Meta.h
+++ b/Userland/Libraries/LibSQL/Meta.h
@@ -13,7 +13,7 @@
#include <AK/String.h>
#include <AK/Vector.h>
#include <LibCore/Object.h>
-#include <LibSQL/AST.h>
+#include <LibSQL/AST/AST.h>
#include <LibSQL/Forward.h>
#include <LibSQL/Key.h>
#include <LibSQL/Type.h>
@@ -90,11 +90,11 @@ class KeyPartDef : public ColumnDef {
C_OBJECT(KeyPartDef);
public:
- KeyPartDef(IndexDef*, String, SQLType, Order = Order::Ascending);
- Order sort_order() const { return m_sort_order; }
+ KeyPartDef(IndexDef*, String, SQLType, AST::Order = AST::Order::Ascending);
+ AST::Order sort_order() const { return m_sort_order; }
private:
- Order m_sort_order { Order::Ascending };
+ AST::Order m_sort_order { AST::Order::Ascending };
};
class IndexDef : public Relation {
@@ -106,7 +106,7 @@ public:
NonnullRefPtrVector<KeyPartDef> key_definition() const { return m_key_definition; }
bool unique() const { return m_unique; }
[[nodiscard]] size_t size() const { return m_key_definition.size(); }
- void append_column(String, SQLType, Order = Order::Ascending);
+ void append_column(String, SQLType, AST::Order = AST::Order::Ascending);
Key key() const override;
[[nodiscard]] TupleDescriptor to_tuple_descriptor() const;
static NonnullRefPtr<IndexDef> index_def();