API
type Client
Client is a connection pool and is safe for concurrent use.
type Client = edgedb.Client
type ErrorCategory
ErrorCategory values represent EdgeDB’s error types.
type ErrorCategory = edgedb.ErrorCategory
type Executor
Executor is a common interface between *Client and *Tx, that can run queries on an EdgeDB database.
type Executor = edgedb.Executor
type IsolationLevel
IsolationLevel documentation can be found here docs/reference/edgeql/tx_start#parameters
type IsolationLevel = edgedb.IsolationLevel
type ModuleAlias
ModuleAlias is an alias name and module name pair.
type ModuleAlias = edgedb.ModuleAlias
type RetryBackoff
RetryBackoff returns the duration to wait after the nth attempt before making the next attempt when retrying a transaction.
type RetryBackoff = edgedb.RetryBackoff
type RetryCondition
RetryCondition represents scenarios that can cause a transaction run in Tx() methods to be retried.
type RetryCondition = edgedb.RetryCondition
type RetryOptions
RetryOptions configures how Tx() retries failed transactions. Use NewRetryOptions to get a default RetryOptions value instead of creating one yourself.
type RetryOptions = edgedb.RetryOptions
type RetryRule
RetryRule determines how transactions should be retried when run in Tx() methods. See Client.Tx() for details.
type RetryRule = edgedb.RetryRule
type TLSOptions
TLSOptions contains the parameters needed to configure TLS on EdgeDB server connections.
type TLSOptions = edgedb.TLSOptions
type TLSSecurityMode
TLSSecurityMode specifies how strict TLS validation is.
type TLSSecurityMode = edgedb.TLSSecurityMode