Module client

Source
Expand description

Client to the EdgeDB

This is a major way to contact the database. Database credentials always come preconfigured to connect to the specific database that this WebAssembly file was run from.

Re-exports§

pub use edgedb_errors as errors;

Structs§

Client
EdgeDB Client
CommandDataDescription
Encoder
Error
Error type returned from any EdgeDB call.
ProtocolVersion

Enums§

Cardinality

Traits§

ErrorKind
Trait that marks EdgeDB errors.
QueryArgs
A tuple of query arguments.
QueryResult
A trait representing single result from a query.

Functions§

create_client
Create a connection to the database that this WebAssembly app is attached to