Expand description
Database cursors, for querying both local and remote databases.
The cursor API provides a common interface for requesting data from both the
local database and any number of remote nodes. When a cursor is moved
around, the request may be fulfilled by any nodes in the
Group
this cursor was opened on. The same goes for
when a cursor is used to make queries: any connected node within the group
may respond to the query, and it is up to the various networking
implementations to deduplicate query results as best as they are able.
Structs§
- Cursor
Back Error - DbQuery
- A full query made against a database and zero or more remote nodes.
- Query
Result - An entry returned from a query.
Enums§
- Cursor
Error - Index
- Query
Update - A update event from an ongoing query.
- Usefulness
- An indication of how useful a query was. This is advisory information for the network subsystem that returned the query.
Traits§
- Cursor
- A cursor for navigating through a database.
- Cursor
Query - An active query on a document.
- Fork
Cursor - Fork
Spawner - Used to fork a querying cursor into one of the documents linked to by a returned Entry.
- Useful
Report - Used to report how useful a query result was.
Type Aliases§
- NewCursor
- Successful result of forking a cursor.