pub async fn connect() -> Result<Client, Error>Expand description
Create a connection to the database with default parameters.
It’s expected that connection parameters are set using the environment
(either environment variables or project configuration in edgedb.toml),
so no configuration is specified here.
This method tries to establish a single connection immediately to ensure that the configuration is valid. It will return an error if it cannot do so.
For more fine-grained setup see the Client and Builder
documentation and the source of this function.