class CQL::Postgres::Driver::Builder

Defined in:

postgres/driver.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(config : Config, options : DB::Connection::Options) #

[View source]

Instance Method Detail

def build : DB::Connection #

Transport failures become DB::ConnectionRefused, which crystal-db's pool retries (retry_attempts, retry_delay); server errors do not.


[View source]