serenity/Tests/LibSQL
Jan de Visser 7fc901d1b3 LibSQL+SQLServer: Implement first cut of SELECT ... ORDER BY foo
Ordering is done by replacing the straight Vector holding the query
result in the SQLResult object with a dedicated Vector subclass that
inserts result rows according to their sort key using a binary search.
This is done in the ResultSet class.

There are limitations:
- "SELECT ... ORDER BY 1" (or 2 or 3 etc) is supposed to sort by the
n-th result column. This doesn't work yet
- "SELECT ... column-expression alias ... ORDER BY alias" is supposed to
sort by the column with the given alias. This doesn't work yet

What does work however is something like
```SELECT foo FROM bar SORT BY quux```
i.e. sorted by a column not in the result set. Once functions are
supported it should be possible to sort by random functions.
2022-01-16 11:17:15 +01:00
..
CMakeLists.txt Tests: Remove all file(GLOB) from CMakeLists in Tests 2021-09-02 09:08:23 +02:00
TestSqlBtreeIndex.cpp LibSQL: Improve error handling 2021-12-04 20:49:22 +03:30
TestSqlDatabase.cpp Tests: Cast unused smart-pointer return values to void 2021-12-05 15:31:03 +01:00
TestSqlExpressionParser.cpp LibSQL: Properly parse ESCAPE expressions 2022-01-07 10:50:39 +03:30
TestSqlHashIndex.cpp LibSQL: Improve error handling 2021-12-04 20:49:22 +03:30
TestSqlStatementExecution.cpp LibSQL+SQLServer: Implement first cut of SELECT ... ORDER BY foo 2022-01-16 11:17:15 +01:00
TestSqlStatementParser.cpp LibSQL: Move Order and Nulls enums from SQL::AST to SQL namespace 2021-07-08 17:55:59 +04:30
TestSqlValueAndTuple.cpp LibSQL: Add 'schema' and 'table' to TupleElementDescriptor 2021-11-10 14:47:49 +01:00