Granite::Connections
Class methods
<<(data : NamedTuple(name: String, reader: String, writer: String, adapter_type: Granite::Adapter::Base.class)) : Nil
SourceRegisters the given adapter. Raises if an adapter with the same name has already been registered.
[](name : String) : NamedTuple(writer: Granite::Adapter::Base, reader: Granite::Adapter::Base) | Nil
Returns a registered connection with the given name, otherwise nil.
connection_switch_wait_period
Sourcefirst_connection
Sourcefirst_reader
Sourcefirst_writer
Sourceregistered_connections
Source