Modules§
Structs§
- Change
Id - ChangeId newtype to differentiate from RowId
- Column
Name - An SQL column name, stored as a
CompactString. - Exec
Response - Response returned by the
/v1/transactionsand/v1/migrationsendpoints. - Health
Query HealthQueryrepresents the query string for the/v1/healthendpoint.- Real
- RowId
- RowId newtype to differentiate from ChangeId
- Sqlite
Value Ref - Table
Name - Sqlite table name, stored as a
CompactString. - Table
Stat Request - Request body for the
/v1/table-statsendpoint. - Table
Stat Response - Contain node and sync status information
Enums§
- Column
Type - SQLite storage class for a column or value.
- Exec
Result - Result of executing a single statement.
- Health
Response - Contains status information about the node
- Query
Event Meta - Lightweight enum describing a
TypedQueryEvent - Sqlite
Param - A parameter value that can be bound to a
Statement - Sqlite
Value - Statement
- A SQL statement, optionally with bound parameters.
- Typed
Notify Event TypedNotifyEventrepresents the different events that an update stream can produce.- Typed
Query Event TypedQueryEventrepresents the different events that a query or subscription can produce. It wrapsTwhich is the type used to represent a row.
Constants§
- QUERY_
HASH_ HEADER - HTTP response header that carries a hash of the SQL query string.
Returned alongside
QUERY_ID_HEADERso clients can verify that a cached subscription ID still corresponds to the same query. - QUERY_
ID_ HEADER - HTTP response header that carries the UUID of a subscription or update stream.
Set by the server on every successful
/v1/queries,/v1/subscriptions, and/v1/updatesresponse so callers can re-attach to the same stream by ID.
Type Aliases§
- Notify
Event - Untyped variant of
TypedNotifyEvent, where each payload is aVecofSqliteValue. - Query
Event - Untyped variant of
TypedQueryEvent, where each row is aVecofSqliteValue.