Skip to main content

connect_readwrite

Function connect_readwrite 

Source
pub fn connect_readwrite(database_url: &str) -> Result<Client>
Expand description

Open a connection for command paths that may write to the hub.

This currently shares the same connection logic as read-only callers, but keeping the intent explicit preserves a routing point for future pools, permissions, or replicas.