Skip to main content

Module connection

Module connection 

Source

Structs§

ConnectionConfig
Database connection configuration

Functions§

connect_to_database
Connect to a database with a 5-second timeout and enriched error messages
connect_with_retry
Connect to database with retry logic
connect_with_retry_config
Connect to database with custom retry configuration
connect_with_retry_config_quiet
Connect to database with custom retry configuration and no slow query logging
connect_with_retry_quiet
Connect to database with retry logic and no slow query logging
initialize_database_session
Initialize database session with proper schema context for migration execution
mask_url_password
Mask password in database URL for display