Module db

Module db 

Source
Expand description

The DbConfig struct represents settings used to establish a connection with a database.

Structsยง

DbConfig
Settings used to establish a connection with a database, regardless of the engine. All the values can be initialized with DbConfig::init_for() method, that uses environment variables to setup all of them, otherwise all have default values, except the string connection.