1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 19:15:07 +00:00
serenity/Userland/Libraries/LibSQL
Timothy Flynn d6dee8c0e8 LibSQL+Userland: Pass SQL IPC results to clients in a structure
SQLClient exists as a wrapper around SQL IPC to provide a bit friendlier
interface for clients to deal with. Though right now, it mostly forwards
values as-is from IPC to the clients. This makes it a bit verbose to add
values to IPC responses, as we then have to add it to the callbacks used
by all clients. It's also a bit confusing seeing a sea of "auto" as the
parameter types for these callbacks.

This patch moves these response values to named structures instead. This
will allow adding values without needing to simultaneously update all
clients. We can then separately handle the new values in interested
clients only.
2023-02-03 20:34:45 +01:00
..
AST LibSQL: Store selected column names in the results for SELECT statements 2023-02-03 20:34:45 +01:00
BTree.cpp Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
BTree.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
BTreeIterator.cpp Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
CMakeLists.txt LibSQL+SQLServer: Generate SQLServer's IPC sources with LibSQL on Lagom 2022-12-08 17:14:48 +01:00
Database.cpp Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
Database.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Forward.h LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
HashIndex.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
HashIndex.h Everywhere: Remove redundant inequality comparison operators 2022-11-06 10:25:08 -07:00
Heap.cpp AK: Move Stream and SeekableStream from LibCore 2023-01-29 19:16:44 -07:00
Heap.h LibSQL: Support 64-bit integer values and handle overflow errors 2022-12-14 09:21:30 -05:00
Index.cpp LibSQL: Add missing header includes 2022-10-14 17:47:44 +03:30
Index.h LibSQL: Add missing header includes 2022-10-14 17:47:44 +03:30
Key.cpp LibSQL: Introduce Serializer as a mediator between Heap and client code 2021-08-21 22:03:30 +02:00
Key.h LibSQL: Resolve cyclic dependency 2021-10-06 23:52:40 +01:00
Meta.cpp LibSQL: Support 64-bit integer values and handle overflow errors 2022-12-14 09:21:30 -05:00
Meta.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Result.cpp AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
Result.h LibSQL: Don't interpret AK::Error codes as SQL error codes 2023-01-26 10:43:30 +00:00
ResultSet.cpp LibSQL+SQLServer: Introduce and use ResultOr<ValueType> 2022-02-10 23:11:13 +01:00
ResultSet.h LibSQL: Store selected column names in the results for SELECT statements 2023-02-03 20:34:45 +01:00
Row.cpp LibSQL: Store a NonnullRefPtr to the table definition in SQL::Row 2022-11-30 11:43:13 +01:00
Row.h LibSQL: Store a NonnullRefPtr to the table definition in SQL::Row 2022-11-30 11:43:13 +01:00
Serializer.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Serializer.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
SQLClient.cpp LibSQL+Userland: Pass SQL IPC results to clients in a structure 2023-02-03 20:34:45 +01:00
SQLClient.h LibSQL+Userland: Pass SQL IPC results to clients in a structure 2023-02-03 20:34:45 +01:00
TreeNode.cpp AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
Tuple.cpp AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
Tuple.h Everywhere: Move AK/Debug.h include to using files or remove 2023-01-02 20:27:20 -05:00
TupleDescriptor.h Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
Type.h LibSQL: Remove unnecessary values from the ENUMERATE_SQL_TYPES macro 2022-12-14 09:21:30 -05:00
Value.cpp AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
Value.h LibIPC+Everywhere: Change IPC::encode's return type to ErrorOr 2023-01-04 11:49:15 +01:00