ladybird/Tests/LibSQL
Timothy Flynn 1524288127 LibSQL: Rewrite the SQL::Value type to be contained within one class
Currently, the Value class is essentially a "pImpl" wrapper around the
ValueImpl hierarchy of classes. This is a bit difficult to follow and
reason about, as methods jump between the Value class and its impl
classes.

This changes the Variant held by Value to instead store the specified
types (String, int, etc.) directly. In doing so, the ValueImpl classes
are removed, and all methods are now just concise Variant visitors.

As part of this rewrite, support for the "array" type is dropped (or
rather, just not re-implemented) as it was unused. If it's needed in the
future, support can be re-added.

This does retain the ability for non-NULL types to store NULL values
(i.e. an empty Optional). I tried dropping this support as well, but it
is depended upon by the on-disk storage classes in non-trivial ways.
2022-10-14 17:47:44 +03:30
..
CMakeLists.txt Tests: Remove all file(GLOB) from CMakeLists in Tests 2021-09-02 09:08:23 +02:00
TestSqlBtreeIndex.cpp LibSQL: Remove infallible type conversions from SQL::Value 2022-10-14 17:47:44 +03:30
TestSqlDatabase.cpp Tests: Cast unused smart-pointer return values to void 2021-12-05 15:31:03 +01:00
TestSqlExpressionParser.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
TestSqlHashIndex.cpp LibSQL: Remove infallible type conversions from SQL::Value 2022-10-14 17:47:44 +03:30
TestSqlStatementExecution.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TestSqlStatementParser.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
TestSqlValueAndTuple.cpp LibSQL: Rewrite the SQL::Value type to be contained within one class 2022-10-14 17:47:44 +03:30