mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
b9d8c25b0b
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.
10 lines
472 B
Text
10 lines
472 B
Text
#include <LibSQL/Result.h>
|
|
#include <LibSQL/Value.h>
|
|
|
|
endpoint SQLClient
|
|
{
|
|
execution_success(u64 statement_id, u64 execution_id, bool has_results, size_t created, size_t updated, size_t deleted) =|
|
|
next_result(u64 statement_id, u64 execution_id, Vector<SQL::Value> row) =|
|
|
results_exhausted(u64 statement_id, u64 execution_id, size_t total_rows) =|
|
|
execution_error(u64 statement_id, u64 execution_id, SQL::SQLErrorCode code, DeprecatedString message) =|
|
|
}
|