summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSQL/CMakeLists.txt
diff options
context:
space:
mode:
authorJan de Visser <jan@de-visser.net>2021-06-17 13:23:52 -0400
committerAndreas Kling <kling@serenityos.org>2021-06-19 22:06:45 +0200
commit2a465291703f553b281639cc13f4a834ff4125ab (patch)
treebf4a44dbcad2282513b5357c47f7b4d8c444f338 /Userland/Libraries/LibSQL/CMakeLists.txt
parenta6ba05b02b7e89102b3e724d48ae88fa38698334 (diff)
downloadserenity-2a465291703f553b281639cc13f4a834ff4125ab.zip
LibSQL: Basic dynamic value classes for SQL Storage layer
This patch adds the basic dynamic value classes used by the SQL Storage layer. The most elementary class is Value, which holds a typed Value which can be converted to standard C++ types. A Tuple is a collection of Values described by a TupleDescriptor, which specifies the names, types, and ordering of the elements in the Tuple. Tuples and Values can be serialized and deserialized to and from ByteBuffers. This is mechanism which is used to save them to disk. Tuples are used as keys in SQL indexes and rows in SQL tables. Also included is a test file.
Diffstat (limited to 'Userland/Libraries/LibSQL/CMakeLists.txt')
-rw-r--r--Userland/Libraries/LibSQL/CMakeLists.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/Userland/Libraries/LibSQL/CMakeLists.txt b/Userland/Libraries/LibSQL/CMakeLists.txt
index faec52cb2a..f4d79cd413 100644
--- a/Userland/Libraries/LibSQL/CMakeLists.txt
+++ b/Userland/Libraries/LibSQL/CMakeLists.txt
@@ -1,9 +1,11 @@
set(SOURCES
- Lexer.cpp
- Parser.cpp
- SyntaxHighlighter.cpp
- Token.cpp
-)
+ Lexer.cpp
+ Parser.cpp
+ SyntaxHighlighter.cpp
+ Token.cpp
+ Tuple.cpp
+ Value.cpp
+ )
serenity_lib(LibSQL sql)
target_link_libraries(LibSQL LibCore LibSyntax)