Skip to main content

Module wire

Module wire 

Source
Expand description

Nested message and enum types in Wire.

Modules§

client_message
Nested message and enum types in ClientMessage.
server_message
Nested message and enum types in ServerMessage.
value
Nested message and enum types in Value.

Structs§

Batch
Applied atomically, in order, and answered with one result per statement, in order: Columns then ColumnBatch frames for a statement that returns rows, one ExecResult for one that does not, each tagged with the statement’s 0-based index, then a single Done for the whole batch. A statement that returns no rows still sends its Columns. Credit paces the ColumnBatch frames of the batch as a whole.
Begin
Cancel
ClientMessage
Column
Values are typed per row, as SQLite types them, so a column may mix classes: walk types and take the next entry from the matching array. Text and blobs are concatenated with one exclusive end offset each, so value i is data[ends[i-1]:ends[i]] with 0 implied before the first. A NULL occupies a tag only.
ColumnBatch
Columns
Commit
Credit
Done
Error
ExecResult
Hello
HelloOk
Ping
Pong
Rollback
ServerMessage
Statement
Value
SQLite’s five storage classes.

Enums§

QueryLang
ValueType