Module bonsaidb::core::networking
Expand description
Types for implementing the BonsaiDb network protocol.
Structs
- Alter’s a user’s membership in a permission group.
- Alter’s a user’s role
- Applies a transaction.
- Assume an identity.
- Authenticate the current connection.
- Compacts the entire database.
- Compacts the collection.
- Compacts the key-value store.
- Counts the number of documents in the specified range.
- Creates a database.
- Creates a
PubSub
Subscriber
- Creates a user.
- Deletes the database named
name
- Deletes the associated documents resulting from the view query.
- Deletes a user.
- Excutes a key-value store operation.
- Retrieve a single document.
- Retrieve multiple documents.
- Queries the last transaction id.
- Retrieve multiple documents.
- Lists available schemas.
- Lists all databases.
- Lists executed transactions.
- Retrieve multiple document headers.
- Logs out from a session.
- A PubSub message was received.
- A payload with an associated id.
- Publishes
payload
to all subscribers oftopic
. - Publishes
payload
to all subscribers of alltopics
. - Queries a view.
- Queries a view with the associated documents.
- Reduces a view.
- Reduces a view, grouping the reduced values by key.
- Set’s a user’s password.
- Subscribes
subscriber_id
to messages fortopic
. - Unregisters the subscriber.
- Unsubscribes
subscriber_id
from messages fortopic
.
Enums
- A networking error.
Constants
- The current protocol version.