serenity/Userland/Services/SQLServer
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
..
ClientConnection.cpp LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
ClientConnection.h LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
CMakeLists.txt SQLServer: Port to LibMain :^) 2021-12-06 19:22:16 +01:00
DatabaseConnection.cpp LibSQL: Improve error handling 2021-12-04 20:49:22 +03:30
DatabaseConnection.h Services: Fix visibility of Object-derivative constructors 2021-11-02 22:56:53 +01:00
Forward.h LibSQL+SQLServer: Build SQLServer system service 2021-07-08 17:55:59 +04:30
main.cpp LibIPC: Add IPC::MultiServer convenience class 2021-12-06 19:22:16 +01:00
SQLClient.ipc SQLServer+SQL+LibSQL: Allow sql client to specify the database name 2021-10-05 02:22:19 +02:00
SQLServer.ipc SQLServer: Remove unnecessary magic number 2021-11-05 00:17:01 +03:30
SQLStatement.cpp LibSQL+SQLServer: Implement first cut of SELECT ... ORDER BY foo 2022-01-16 11:17:15 +01:00
SQLStatement.h Services: Fix visibility of Object-derivative constructors 2021-11-02 22:56:53 +01:00