mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
LibSQL+SQLServer+SQLStudio+sql: Send result rows over IPC as SQL::Value
We've been sending the values converted to a string, but now that the Value type is transferrable over IPC, send the values themselves. Any client that wants the value as a string may do so easily, whereas this will allow less trivial clients to avoid string parsing.
This commit is contained in:
committed by
Andreas Kling
parent
27ce88864f
commit
b9d8c25b0b
@@ -85,7 +85,7 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
m_sql_client->on_next_result = [](auto, auto, auto const& row) {
|
||||
m_sql_client->on_next_result = [](auto, auto, auto row) {
|
||||
StringBuilder builder;
|
||||
builder.join(", "sv, row);
|
||||
outln("{}", builder.build());
|
||||
|
||||
Reference in New Issue
Block a user